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.
Published: 2026-08-13
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability is a type confusion flaw in PostgreSQL that permits a database user to invoke functions involving the "internal" data type. The "internal" type represents a set of structures not intended for SQL exposure; the mismatch between the expected and supplied data leads PostgreSQL to execute arbitrary code with the privileges of the OS account running the database. An attacker that can create or call such a function can completely compromise the database server and the underlying host.

Affected Systems

PostgreSQL database servers prior to version 18.5, 17.11, 16.15, 15.19, or 14.24 are affected. All supported releases before these point releases contain the flaw, regardless of operating system.

Risk and Exploitability

The CVSS score of 8.8 reflects high severity and full exploitation potential. Although the EPSS score is unavailable, 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 with the appropriate privileges. 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 13, 2026 at 14:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PostgreSQL to the latest supported release (at least 18.5, 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 13, 2026 at 14:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-13T15:37:20.313Z

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

Link: CVE-2026-14680

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-14680

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T15:15:12Z

Weaknesses
  • CWE-843

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