UBUNTU-CVE-2026-116325: SQL Injection

Published Nov 13, 2026
·
Updated

SQL injection in PostgreSQL reindexdb allows an object creator to execute arbitrary SQL as the database user running reindexdb, via a crafted index name embedded in the parallel catalog query for --jobs with --index. Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected. Versions before PostgreSQL 17 are unaffected.

Affected Software

8 affected components
ubuntu/postgresql-9.3*
ubuntu/postgresql-9.5*
ubuntu/postgresql-10*
ubuntu/postgresql-12*
ubuntu/postgresql-14*
ubuntu/postgresql-16*
ubuntu/postgresql-18*
ubuntu/postgresql-18*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.7
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.12

Event History

Nov 13, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which PostgreSQL versions are affected?

PostgreSQL 17 minor versions before 17.12 and PostgreSQL 18 minor versions before 18.7 are affected. Versions before PostgreSQL 17 are unaffected.

2

What conditions are required for exploitation?

An attacker must be able to create a database object with a crafted index name. A database user must then run reindexdb using both --jobs and --index, causing arbitrary SQL to execute as that reindexdb user's database role.

3

Is the vulnerable behavior used by default?

The issue is specifically triggered by the parallel catalog query used when reindexdb is run with both --jobs and --index. Systems that do not use that option combination do not invoke the described vulnerable path.

4

What can be done if updating is not immediately possible?

Avoid running reindexdb with --jobs together with --index. Also restrict the ability of untrusted users to create database objects, since exploitation relies on a crafted index name.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203