CVE Catalog

CVE-2026-120141

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.57%

49th percentile - higher than 49% of all known CVEs

Summary

Type confusion in PostgreSQL materialized set-returning functions allows a database user to execute arbitrary code as the operating system user running the database. Exploitation occurs via returning rows having different dynamic RECORD return types; json_populate_recordset() is one affected function.

Risk Assessment

An authenticated database user can cause code execution with the privileges of the PostgreSQL system account. This may result in full compromise of the database server.

Recommendation

Update PostgreSQL to version 18.7, 17.12, 16.16, 15.20, or 14.25 (or later). Restrict access to functions such as json_populate_recordset() for untrusted users.

Other vulnerabilities in PostgreSQL

See all
Original NVD description (English source)

Type confusion in PostgreSQL materialized set-returning functions allows a database user to execute arbitrary code as the operating system user running the database, via returning rows having different dynamic RECORD return types. json_populate_recordset() is one affected function. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS