PostgreSQL refint plan cache type confusion executes arbitrary code (CVE-2026-14671)
A type confusion vulnerability exists in the PostgreSQL refint module that allows an object creator to execute arbitrary code with the privileges of the operating system user running the database. This issue affects multiple PostgreSQL versions prior to 14.24, 15.19, 16.15, 17.11, and 18.5. The vulnerability was fixed by removing the plan cache in the refint module, with the fix available in the PostgreSQL git repository. No known exploits are reported in the wild.
AI Analysis
Technical Summary
CVE-2026-14671 is a type confusion vulnerability in the PostgreSQL refint module's plan cache implementation. This flaw permits an object creator to execute arbitrary code as the OS user running the database server. The fix was introduced as a non-security bug fix by removing the plan cache from the refint module. Affected versions include PostgreSQL releases before 14.24, 15.19, 16.15, 17.11, and 18.5. The vulnerability is classified under CWE-843 (Type Confusion).
Potential Impact
Successful exploitation allows an attacker with the ability to create objects in the database to execute arbitrary code with the privileges of the operating system user running PostgreSQL. This could lead to full compromise of the database server environment under that user context. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available and has been applied in PostgreSQL versions 14.24, 15.19, 16.15, 17.11, and 18.5 and later. Users should upgrade to these or later versions to remediate this vulnerability. Since this is not a cloud service, remediation requires applying the official patch or upgrading the affected PostgreSQL installations.
PostgreSQL refint plan cache type confusion executes arbitrary code (CVE-2026-14671)
Description
A type confusion vulnerability exists in the PostgreSQL refint module that allows an object creator to execute arbitrary code with the privileges of the operating system user running the database. This issue affects multiple PostgreSQL versions prior to 14.24, 15.19, 16.15, 17.11, and 18.5. The vulnerability was fixed by removing the plan cache in the refint module, with the fix available in the PostgreSQL git repository. No known exploits are reported in the wild.
Affected software
pkg:deb/postgresql/postgresqlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-14671 is a type confusion vulnerability in the PostgreSQL refint module's plan cache implementation. This flaw permits an object creator to execute arbitrary code as the OS user running the database server. The fix was introduced as a non-security bug fix by removing the plan cache from the refint module. Affected versions include PostgreSQL releases before 14.24, 15.19, 16.15, 17.11, and 18.5. The vulnerability is classified under CWE-843 (Type Confusion).
Potential Impact
Successful exploitation allows an attacker with the ability to create objects in the database to execute arbitrary code with the privileges of the operating system user running PostgreSQL. This could lead to full compromise of the database server environment under that user context. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available and has been applied in PostgreSQL versions 14.24, 15.19, 16.15, 17.11, and 18.5 and later. Users should upgrade to these or later versions to remediate this vulnerability. Since this is not a cloud service, remediation requires applying the official patch or upgrading the affected PostgreSQL installations.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-c4j6-v5f3-8f3c
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-14671"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7e0367bf8831d5398f8754
Added to database: 08/13/2026, 17:48:23 UTC
Last enriched: 09/08/2026, 15:15:24 UTC
Last updated: 09/28/2026, 01:47:41 UTC
Views: 73
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.