CVE-2026-116325 PUBLISHED

PostgreSQL reindexdb index name quoting allows SQL injection

Assigner: PostgreSQL
Reserved: 26.10.2026 Published: 12.11.2026 Updated: 12.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS Score: 8

Product Status

Vendor n/a
Product PostgreSQL
Versions Default: unaffected
  • affected from 18 to 18.7 (excl.)
  • affected from 17 to 17.12 (excl.)

Affected Configurations

victim runs reindexdb with --jobs and --index for an attacker-named index

Credits

  • The PostgreSQL project thanks Anthropic OSS program for reporting this problem.

References

Problem Types

  • Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE