Skip to main content
EPSS 0.5%top 62%

CVE-2026-15741: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in PostgreSQL

0
High
VulnerabilityCVE-2026-15741cvecve-2026-15741
Published: 08/13/2026 (08/13/2026, 13:00:11 UTC)
Source: CVE Database V5
Product: PostgreSQL

Description

CVE-2026-15741 is a high-severity SQL injection vulnerability in PostgreSQL's EXTRACT() deparse functionality. It allows an object owner to execute arbitrary SQL commands with superuser privileges via a malicious object definition. This affects various tools that consume expression deparses, including pg_dump and psql commands like \sf. Versions prior to PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are vulnerable.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

PostgreSQL

Affected versions
>=18 <18.6>=17 <17.11>=16 <16.15>=15 <15.19>=0 <14.24
Postgresqlmore threats →ai
postgresql/postgresql
pkg:deb/postgresql/postgresql
Affected versions
<14.24<15.19<16.15<17.11<18.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 04:46:36 UTC

Technical Analysis

This vulnerability involves improper neutralization of special elements used in SQL commands within PostgreSQL's EXTRACT() deparse. An attacker who owns an object can craft a hostile object definition that leads to execution of arbitrary SQL commands as a superuser. The flaw impacts expression deparse consumers broadly, including core tools such as pg_dump and psql's \sf command, as well as similar non-core tools. The vulnerability affects PostgreSQL versions before 18.6, 17.11, 16.15, 15.19, and 14.24.

Potential Impact

Successful exploitation allows an object owner to execute arbitrary SQL commands with superuser privileges, potentially leading to full system compromise, data disclosure, and data manipulation. The vulnerability affects multiple PostgreSQL versions and tools that rely on expression deparse, increasing the attack surface.

Mitigation Recommendations

A fix is available in PostgreSQL versions 18.6, 17.11, 16.15, 15.19, and 14.24 and later. Users should upgrade to these or later versions to remediate the vulnerability. No additional mitigation guidance is provided in the input data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
PostgreSQL
Date Reserved
2026-07-14T14:24:10.232Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a7dc617bf8831d5393e53b3

Added to database: 08/13/2026, 13:26:47 UTC

Last enriched: 09/12/2026, 04:46:36 UTC

Last updated: 09/28/2026, 01:47:41 UTC

Views: 36

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses