CVE-2026-14671: Access of Resource Using Incompatible Type ('Type Confusion') in PostgreSQL
Type confusion in PostgreSQL module "refint" allows an object creator to execute arbitrary code as the operating system user running the database. The fix for this emerged as a non-security bug report, and the fix appear in the git repository with subject "refint: Remove plan cache.", without a CVE number. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.
AI Analysis
Technical Summary
This vulnerability is a type confusion flaw in the PostgreSQL 'refint' module, which can be exploited by an object creator to execute arbitrary code as the OS user running the database. The flaw arises from improper handling of resource types, leading to incompatible type access. The fix was merged in the PostgreSQL git repository as a removal of the plan cache in the 'refint' module, though it was initially tracked as a non-security bug and lacks a dedicated security advisory. Affected versions include all releases before 18.5, 17.11, 16.15, 15.19, and 14.24. No known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an attacker with object creation privileges to execute arbitrary code with the operating system user privileges of the PostgreSQL server process. This can lead to full compromise of the database server environment, affecting confidentiality, integrity, and availability of the system.
Mitigation Recommendations
Patch status is not yet confirmed — check the PostgreSQL vendor advisory and git repository for the latest remediation guidance. The fix was introduced as a non-security bug fix in the git repository, so upgrading to PostgreSQL versions 18.5, 17.11, 16.15, 15.19, or 14.24 and later is recommended once official releases including the fix are available. Until then, restrict object creation privileges to trusted users only.
CVE-2026-14671: Access of Resource Using Incompatible Type ('Type Confusion') in PostgreSQL
Description
Type confusion in PostgreSQL module "refint" allows an object creator to execute arbitrary code as the operating system user running the database. The fix for this emerged as a non-security bug report, and the fix appear in the git repository with subject "refint: Remove plan cache.", without a CVE number. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.
CVSS v3.1
Score 8.8high
Affected software
pkg:deb/postgresql/postgresqlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability is a type confusion flaw in the PostgreSQL 'refint' module, which can be exploited by an object creator to execute arbitrary code as the OS user running the database. The flaw arises from improper handling of resource types, leading to incompatible type access. The fix was merged in the PostgreSQL git repository as a removal of the plan cache in the 'refint' module, though it was initially tracked as a non-security bug and lacks a dedicated security advisory. Affected versions include all releases before 18.5, 17.11, 16.15, 15.19, and 14.24. No known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an attacker with object creation privileges to execute arbitrary code with the operating system user privileges of the PostgreSQL server process. This can lead to full compromise of the database server environment, affecting confidentiality, integrity, and availability of the system.
Mitigation Recommendations
Patch status is not yet confirmed — check the PostgreSQL vendor advisory and git repository for the latest remediation guidance. The fix was introduced as a non-security bug fix in the git repository, so upgrading to PostgreSQL versions 18.5, 17.11, 16.15, 15.19, or 14.24 and later is recommended once official releases including the fix are available. Until then, restrict object creation privileges to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-07-03T20:28:13.192Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7dc615bf8831d5393e528e
Added to database: 08/13/2026, 13:26:45 UTC
Last enriched: 08/13/2026, 13:45:28 UTC
Last updated: 08/13/2026, 19:41:00 UTC
Views: 3
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.
External Links
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.