Servers and applications
CVE-2026-116303
PostgreSQL foreign key and JSON conversions bypass EXECUTE privilege on cast functions
- Severity
- Low 3.1
- Published
- 12 Nov 2026
- Last changed
- 12 Nov 2026
- Added to UpHeron
- 13 Nov 2026
- Fixed in
- 14.25, 15.20, 16.16, 17.12, 18.7
- Exploit chance
- 0.2% in the next 30 daysHigher than 12% of CVEs. EPSS by FIRST, 13 Nov 2026
- Weakness
- Missing authorization (CWE-862)
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Read some data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N- Sources
- CVE Program
Description
Missing authorization in PostgreSQL type conversion allows a database user to invoke a cast function despite lacking EXECUTE privilege on that function, via foreign keys, to_json(), and others. A successful attack requires the attacker to search each database for access-restricted cast functions and identify confidentiality impact specific to each function implementation found. There are few or no practical examples of an access-restricted cast function or of a cast function having confidentiality impact. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Affected software
| Software | Affected versions |
|---|---|
PostgreSQLServers and applications · cna:n/a|postgresql |
|
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-116303