CVE-2026-15741

High

Description

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductPostgresql
PublishedAug 13, 2026
First seenAug 13, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • postgresql postgresql14.24, 15.19, 16.15, 17.11, 18.5 or later

Affected products

ProductAffected versionsFixed in
postgresql postgresql14.0 ≤ v < 14.24, 15.0 ≤ v < 15.19, 16.0 ≤ v < 16.15, 17.0 ≤ v < 17.11, 18.0 ≤ v < 18.514.24, 15.19, 16.15, 17.11, 18.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.