Description
Type confusion with PostgreSQL "internal" data type arguments allows any user to execute arbitrary code as the operating system user running the database, via calls to functions with that argument type. Type "internal" represents a class of mutually-incompatible data structures not intended for access from SQL. The system intended to prevent such function calls, but this prevention had gaps. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Published: 2026-08-13
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The updated description explains that a type confusion error involving PostgreSQL’s internal data type allows any database user to invoke a function with that internal argument. The internal type contains structure definitions that are not designed for SQL access. When encountered, PostgreSQL attempts to process the argument as a different type, leading to an arbitrary code execution with the privileges of the database server’s operating‑system account. An attacker able to call such a function can gain full control of the database server and the underlying host.

Affected Systems

PostgreSQL database servers prior to version 18.6, 17.11, 16.15, 15.19, or 14.24 are affected.

Risk and Exploitability

The CVSS score of 8.8 reflects high severity and full exploitation potential. The EPSS score, which is less than 1%, indicates a very low but nonzero exploitation probability. The flaw is not listed in the CISA KEV catalog, yet the availability of a high‑impact vulnerability indicates that it could be abused in the wild. The attack vector requires a user to invoke a function with an internal argument, which is possible for any database user. Once invoked, the attacker gains operating‑system level code execution, making the risk extremely high for untrusted or poorly isolated database users.

Generated by OpenCVE AI on August 30, 2026 at 01:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PostgreSQL to the latest supported release (at least 18.6, 17.11, 16.15, 15.19, or 14.24, depending on your major version).
  • If an upgrade cannot be performed immediately, audit the database for functions that accept an "internal" argument and remove or disable them; also restrict execution of those functions to trusted users only.
  • Run the database under the least privileged operating‑system account, and monitor function‑execution logs for anomalous calls to internal‑argument functions to detect possible exploitation attempts.

Generated by OpenCVE AI on August 30, 2026 at 01:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4740-1 postgresql-15 security update
Debian DSA Debian DSA DSA-6438-1 postgresql-17 security update
Ubuntu USN Ubuntu USN USN-8653-1 PostgreSQL vulnerabilities
History

Sat, 29 Aug 2026 23:15:00 +0000

Type Values Removed Values Added
Description Type confusion with PostgreSQL "internal" data type arguments allows any user to execute arbitrary code as the operating system user running the database, via calls to functions with that argument type. Type "internal" represents a class of mutually-incompatible data structures not intended for access from SQL. The system intended to prevent such function calls, but this prevention had gaps. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected. Type confusion with PostgreSQL "internal" data type arguments allows any user to execute arbitrary code as the operating system user running the database, via calls to functions with that argument type. Type "internal" represents a class of mutually-incompatible data structures not intended for access from SQL. The system intended to prevent such function calls, but this prevention had gaps. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

Wed, 19 Aug 2026 01:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

Thu, 13 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 13 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Vendors & Products Postgresql
Postgresql postgresql

Thu, 13 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Description Type confusion with PostgreSQL "internal" data type arguments allows any user to execute arbitrary code as the operating system user running the database, via calls to functions with that argument type. Type "internal" represents a class of mutually-incompatible data structures not intended for access from SQL. The system intended to prevent such function calls, but this prevention had gaps. Versions before PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24 are affected.
Title PostgreSQL type confusion via "internal" arguments
Weaknesses CWE-843
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Postgresql Postgresql
cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2026-08-29T23:07:24.073Z

Reserved: 2026-07-03T20:28:18.519Z

Link: CVE-2026-14680

cve-icon Vulnrichment

Updated: 2026-08-13T15:37:15.802Z

cve-icon NVD

Status : Modified

Published: 2026-08-13T13:17:45.400

Modified: 2026-08-29T23:17:17.180

Link: CVE-2026-14680

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-30T02:00:12Z

Weaknesses
  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')