Skip to main content
VulnerabilityPublished

CVE-2026-116325: PostgreSQL reindexdb index name quoting allows SQL injection

Affects postgresqlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-116325· High 8.0

Not known to be exploited · CVSS 8.0 High : upgrade to 18.7.0 or 17.12.0 soon.

Data as of 27 Nov 2026, 07:59 UTC

CVSS 3.1 base score
8.0High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (PostgreSQL)CVSS 3.18.0
Patch
Available – fixed in 18.7.0, 17.12.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade postgresql to 18.7.0 or 17.12.0.

Affected software

ProductAffectedFixed in
Bitnamipostgresqlpkg:bitnami/postgresqlOther threatsAffected
  • >=17.0.0 <17.12.0
  • >=18.0.0 <18.7.0
Fixed in
  • 17.12.0
  • 18.7.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Apply the official patches by upgrading PostgreSQL to version 17.12.0 or later, or 18.7.0 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated by the vendor advisory.

Description

A SQL injection vulnerability exists in PostgreSQL's reindexdb utility, allowing an object creator to execute arbitrary SQL commands as the database user running reindexdb. This occurs via a crafted index name used in parallel catalog queries with the --jobs and --index options. The vulnerability affects PostgreSQL major versions 17 and 18, specifically versions prior to 17.12.0 and 18.7.0. Versions before 17 are not affected. A fix is available in PostgreSQL 17.12.0 and 18.7.0.

References

Community reviews

Loading reviews…