{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-15741",
        "assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
        "state": "PUBLISHED",
        "assignerShortName": "PostgreSQL",
        "dateReserved": "2026-07-14T14:24:10.232Z",
        "datePublished": "2026-08-13T13:00:11.206Z",
        "dateUpdated": "2026-08-14T03:55:38.780Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
                "shortName": "PostgreSQL",
                "dateUpdated": "2026-08-13T13:00:11.206Z"
            },
            "title": "PostgreSQL expression deparse allows SQL injection via EXTRACT argument",
            "x_postgresql": {
                "component": "core server"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "PostgreSQL",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "lessThan": "18.5",
                            "status": "affected",
                            "version": "18",
                            "versionType": "rpm"
                        },
                        {
                            "lessThan": "17.11",
                            "status": "affected",
                            "version": "17",
                            "versionType": "rpm"
                        },
                        {
                            "lessThan": "16.15",
                            "status": "affected",
                            "version": "16",
                            "versionType": "rpm"
                        },
                        {
                            "lessThan": "15.19",
                            "status": "affected",
                            "version": "15",
                            "versionType": "rpm"
                        },
                        {
                            "lessThan": "14.24",
                            "status": "affected",
                            "version": "0",
                            "versionType": "rpm"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-89",
                            "type": "CWE",
                            "description": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://www.postgresql.org/support/security/CVE-2026-15741/"
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "configurations": [
                {
                    "lang": "en",
                    "value": "attacker has permission to create non-temporary objects in at least one schema"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "The PostgreSQL project thanks Ben Morris (Claude and Anthropic Research) for reporting this problem."
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-08-13T00:00:00+00:00",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3",
                                "id": "CVE-2026-15741"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-08-14T03:55:38.780Z"
                }
            }
        ]
    }
}