{
  "id": "cve-2026-16239",
  "title": "PostgreSQL: PostgreSQL type confusion in cursor CLOSE + DECLARE executes arbitrary code",
  "product": "PostgreSQL",
  "ai_system": "The PostgreSQL project thanks Ben Morris (Claude and Anthropic Research) for reporting this problem.",
  "organization": "PostgreSQL (CNA); AI attribution as credited in the CVE record",
  "summary": "Type confusion in PostgreSQL \"portal\"/cursor lifecycle allows a user to execute arbitrary code as the operating system user running the database, via re-creation of a cursor or other portal with different types. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.",
  "ai_role": "The CNA record credits 'The PostgreSQL project thanks Ben Morris (Claude and Anthropic Research) for reporting this problem.'. It states the AI attribution as written there and does not describe the model's operation, autonomy or the human validation steps; none is inferred.",
  "disclosure_date": "2026-08-13",
  "ai_attribution_date": null,
  "classification": "disclosure",
  "classification_note": "The CNA record establishes a coordinated disclosure with the credit above. It does not establish exploitation in the wild or a zero-day incident.",
  "cves": [
    "CVE-2026-16239"
  ],
  "source_url": "https://www.postgresql.org/support/security/CVE-2026-16239/",
  "ai_source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/16xxx/CVE-2026-16239.json",
  "remediation": "not established",
  "remediation_note": "The CNA record states no fixed version, patch or solution; check the vendor advisory.",
  "advisory_url": "https://www.postgresql.org/support/security/CVE-2026-16239/",
  "checked_date": "2026-11-17",
  "cvss": [
    {
      "cve": "CVE-2026-16239",
      "version": "3.1",
      "score": 8.8,
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/16xxx/CVE-2026-16239.json",
      "source_name": "PostgreSQL (CNA; CVE Program record)",
      "checked_date": "2026-11-17"
    }
  ]
}
