BIT-postgresql-2026-16239

vendorUSosv

PostgreSQL type confusion in cursor CLOSE + DECLARE executes arbitrary code

view advisory published 2026-08-19Licence: per source

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-16239US——
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 oth…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan