Read the docs

SQL injection in PostgreSQL reindexdb lets object creators run SQL

Priority LOW 35CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 fixed, 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-89.

Summary

PostgreSQL versions from 17 before 18.7 and 17.12 are affected, and versions before 17 are unaffected. An SQL injection flaw (CWE-89) lets an object creator use a crafted index name that reindexdb embeds in its parallel catalog query when run with --jobs and --index. An attacker who can create such an object can execute arbitrary SQL as the database user running reindexdb.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

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.

Why it matters now

EPSS 0.00375 31st percentileScored 2026-11-16
Fix Partial PostgreSQL: 18.7, 17.12Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—PostgreSQL18 to before 18.7; 17 to before 17.1218.7, 17.12Patch availableCNA
  • PostgreSQL Vendor— Affected 18 to before 18.7; 17 to before 17.12 Fixed in 18.7, 17.12 Patch available CNA

Remediation

Upgrade PostgreSQL 18 to 18.7 or PostgreSQL 17 to 17.12. Red Hat advisory RHSA-2026:99821 fixes Red Hat Hardened Images, and Red Hat lists no fix plan available for Red Hat Hardened Images in its affected list.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA PostgreSQL Fixed in 18.7, 17.12

Red Hat 1 advisory

  • RHSA-2026:99821 Released 2026-11-12 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images libpq-18.7-0.1.hum1@aarch64, libpq-18.7-0.1.hum1@s390x, libpq-18.7-0.1.hum1@src +4

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    PostgreSQL 17.12, 18.7

    4 records Highest priority Priority MEDIUM 1 MEDIUM, 3 LOW

    Other records, highest priority first

    • TI-2026-90375 Type confusion in PostgreSQL record types lets users run codePriority MEDIUM 41
    • TI-2026-90370 Buffer over-read in PostgreSQL parallel B-tree scansPriority LOW 29
    • TI-2026-90348 Use after free in PostgreSQL COPY errors discloses server memoryPriority LOW 20

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Hardened ImagesAffectedNo fix yet
Red Hat Hardened ImagesFixed RHSA-2026:99821

Timeline

  1. 2026-11-12 Threatist record created from CVE-2026-116325
  2. 2026-11-12 Alias added: GHSA-qq3m-7qq2-628h
  3. 2026-11-12 Affected versions changed · Red Hat
  4. 2026-11-12 CVSS score added · Red Hat
  5. 2026-11-13 Fix available: Red Hat Hardened Images · Red Hat
  6. 2026-11-13 Fix available: RHSA-2026:99821 · Red Hat

References

Sources