{
  "id": "CVE-2026-15741",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-15741",
  "published_at": "2026-08-13T13:00:11.206Z",
  "title": "PostgreSQL expression deparse allows SQL injection via EXTRACT argument",
  "product": "PostgreSQL",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "n/a",
        "product": "PostgreSQL",
        "ranges": [
          "\u003e= 18, \u003c 18.6",
          "\u003e= 17, \u003c 17.11",
          "\u003e= 16, \u003c 16.15",
          "\u003e= 15, \u003c 15.19",
          "\u003c 14.24"
        ],
        "fixed_in": [
          "18.6",
          "17.11",
          "16.15",
          "15.19",
          "14.24"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PostgreSQL to 18.6 or 17.11 or 16.15 or 15.19 or 14.24 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
