SQL Injection in PostgreSQL
CVE-2026-15741
SQL injection in PostgreSQL EXTRACT() deparse allows an object owner to execute arbitrary SQL as a superuser via a hostile object definition. Attacks affect expression deparse consumers broadly, including pg_dump, psql commands like \sf, and any similar usage in non-core tools. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 38.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PostgreSQL
- PostgreSQL — versions 18, 17, 16
Weakness classification (CWE)
References
- www.postgresql.org/support/security/CVE-2026-15741/ (Vendor Advisory)