CVE Database›Document archive›CVE-2026-14671

CVE-2026-14671

postgresql: PostgreSQL: Arbitrary code execution via type confusion in 'refint' module

Loading…

Severity

Important

Red Hat Product Security

8.8

CVSS 3.1

Review impact separately from score.

Published · August 13, 2026

Updated · November 3, 2026

Description

A flaw was found in PostgreSQL. A type confusion vulnerability in the 'refint' module allows an object creator to execute arbitrary code as the operating system user running the database. This could lead to a complete compromise of the database server.

Statement

An Important-rated type confusion vulnerability in PostgreSQL's refint module allows an authenticated user with object creation privileges to execute arbitrary code. Successful exploitation results in a complete compromise of the database server, as the code executes under the context of the database's operating system user."

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this vulnerability, administrators should avoid installing the refint module and remove it if it is currently deployed by executing DROP EXTENSION refint; as a database superuser. Additionally, enforcing the principle of least privilege by revoking CREATE permissions on databases from untrusted users prevents them from creating the malicious objects necessary to exploit this flaw.

CVSS / CWE

CVSS 3.1 · 8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-843 · Access of Resource Using Incompatible Type