SQL Injection via EXTRACT() Deparse in PostgreSQL < 18.5
CVE-2026-15741 Published on August 13, 2026

PostgreSQL expression deparse allows SQL injection via EXTRACT argument
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.5, 17.11, 16.15, 15.19, and 14.24 are affected.

NVD

Weakness Type

What is a SQL Injection Vulnerability?

The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.

CVE-2026-15741 has been classified to as a SQL Injection vulnerability or weakness.


Products Associated with CVE-2026-15741

Want to know whenever a new CVE is published for PostgreSQL? stack.watch will email you.