AI Science Tracker

PostgreSQL SQL function output parameter type confusion

PostgreSQL core server · AI involvement attributed to Claude

Finding and attribution

A SQL-language function with an output parameter of type any can violate type assumptions, allowing an object creator to execute arbitrary code as the PostgreSQL server OS user.

Product: PostgreSQL core server. AI system: Claude. Team / organization: Anthropic / Ada Logics.

CVE identifiers: CVE-2026-18447.

AI and human contribution (source account): The release notes explicitly credit Peter Geoghegan, Claude, and Ada Logics. Collaborative reporting is documented, not autonomous discovery or priority.

Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.

Discovery context: The PostgreSQL security page publicly discloses the issue with the coordinated release. The cited sources do not establish whether exploitation preceded disclosure.

Remediation status: fix documented. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected; fixed in the corresponding releases 2026-11-12. The release notes state full composite-type protections may require rebuilding C-language extensions; that caveat applies to the composite-type defense family, not automatically every case. Fixed releases do not establish downstream deployment.

A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.

Disclosed 12 Nov 2026. AI attribution dated 12 Nov 2026. Sources checked 16 Nov 2026; these are separate dates, not a live installation check.

Recorded CVSS: High · highest recorded score 8.8. Documented technical effects: code execution.

Severity, consequences and exploitation evidence

Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.

  • CVE-2026-18447: CVSS 3.0 · 8.8 (High) · CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. PostgreSQL security advisory · checked 16 Nov 2026.

CVE-2026-18447: code execution.
Prerequisites / affected scope: Requires an object creator able to define the SQL-language function; execution is as the database server OS user..
Exploitation evidence: No in-the-wild exploitation claim in the cited sources.. Impact source · checked 16 Nov 2026.

Documented fix: Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected; fixed in the corresponding releases 2026-11-12. The release notes state full composite-type protections may require rebuilding C-language extensions; that caveat applies to the composite-type defense family, not automatically every case. Fixed releases do not establish downstream deployment.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases