Skip to content
Noroxi
CVE-2026-6472· NVD / CVE Program· CNA PostgreSQL

PostgreSQL CREATE TYPE does not check multirange schema CREATE privilege

Missing authorization in PostgreSQL CREATE TYPE allows an object creator to hijack other queries that use search_path to find user-defined types, including extension-defined types. That is to say, the victim will execute arbitrary SQL functions of the attacker's choice. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

MediumCVSS 5.4 · v3.1—No exploit Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help
Published
May 14, 2026
Updated
Jun 17, 2026
EPSS
0.2% · 12th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

21

Monitor

Low priority for now.

CVSS
21 / 40 · 5.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · PostgreSQL
5.4
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
postgresqlpostgresql

Using postgresql? Add it to your stack and be the first to know about CVEs like this one. (PostgreSQL)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • postgresql postgresqlbefore 14.23
  • postgresql postgresql15.0 and later · before 15.18
  • postgresql postgresql16.0 and later · before 16.14
  • postgresql postgresql17.0 and later · before 17.10
  • postgresql postgresql18.0 and later · before 18.4

Versions reported by the vendor

Affected version ranges reported by the assigning authority (PostgreSQL). Independent of NVD's CPE analysis and usually ahead of it.

  • n/a PostgreSQL

    • 18 and later · before 18.4affected · rpm
    • 17 and later · before 17.10affected · rpm
    • 16 and later · before 16.14affected · rpm
    • 15 and later · before 15.18affected · rpm
    • before 14.23affected · rpm

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.20postgresql15before 15.18-r015.18-r0
Alpine:v3.20postgresql16before 16.14-r016.14-r0
Alpine:v3.21postgresql17before 17.10-r017.10-r0
Alpine:v3.23postgresql18before 18.4-r018.4-r0
Debian:12postgresql-15before 15.18-0+deb12u115.18-0+deb12u1
Debian:13postgresql-17before 17.10-0+deb13u117.10-0+deb13u1
Debian:14postgresql-18before 18.4-118.4-1
openSUSE:Leap 16.0postgresql14before 14.23-160000.1.114.23-160000.1.1
openSUSE:Leap 16.0postgresql15before 15.18-160000.1.115.18-160000.1.1
openSUSE:Leap 16.0postgresql16before 16.14-160000.1.116.14-160000.1.1
openSUSE:Leap 16.0postgresql17before 17.10-160000.1.117.10-160000.1.1
openSUSE:Tumbleweedpostgresql14before 14.23-1.114.23-1.1
openSUSE:Tumbleweedpostgresql15before 15.18-1.115.18-1.1
openSUSE:Tumbleweedpostgresql16before 16.14-1.116.14-1.1
openSUSE:Tumbleweedpostgresql17before 17.10-1.117.10-1.1
openSUSE:Tumbleweedpostgresql18before 18.4-1.118.4-1.1
Red Hat:enterprise_linux_eus:10.0postgresqlbefore 0:16.14-1.el10_00:16.14-1.el10_0
Red Hat:enterprise_linux_eus:10.0postgresql-contribbefore 0:16.14-1.el10_00:16.14-1.el10_0
Red Hat:enterprise_linux_eus:10.0postgresql-contrib-debuginfobefore 0:16.14-1.el10_00:16.14-1.el10_0
Red Hat:enterprise_linux_eus:10.0postgresql-debuginfobefore 0:16.14-1.el10_00:16.14-1.el10_0
Red Hat:enterprise_linux_eus:10.0postgresql-docsbefore 0:16.14-1.el10_00:16.14-1.el10_0
Red Hat:enterprise_linux_eus:10.0postgresql-docs-debuginfobefore 0:16.14-1.el10_00:16.14-1.el10_0
Red Hat:enterprise_linux_eus:10.0postgresql-plperlbefore 0:16.14-1.el10_00:16.14-1.el10_0
Red Hat:enterprise_linux_eus:10.0postgresql-plperl-debuginfobefore 0:16.14-1.el10_00:16.14-1.el10_0

+96

Other highest-scoring records for the same primary product.

  • CVE-2017-7546PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote attackers
    57Plan
  • CVE-2019-9193In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to
    55Plan
  • CVE-2020-25695A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24.
    49Plan
  • CVE-2007-3280The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE statements that map to arbitrary libraries based on the
    44Plan
  • CVE-2013-1899Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows remote attackers to ca
    42Plan
  • CVE-2018-16850postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ...
    41Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
n/a PostgreSQL14.23Vendor (CNA)
n/a PostgreSQL15.18Vendor (CNA)
n/a PostgreSQL16.14Vendor (CNA)
n/a PostgreSQL17.10Vendor (CNA)
n/a PostgreSQL18.4Vendor (CNA)
alpine:postgresql1515.18-r0 · Alpine:v3.20Package registry (OSV)
alpine:postgresql1616.14-r0 · Alpine:v3.20Package registry (OSV)
alpine:postgresql1717.10-r0 · Alpine:v3.21Package registry (OSV)
alpine:postgresql1818.4-r0 · Alpine:v3.23Package registry (OSV)
debian:postgresql-1515.18-0+deb12u1 · Debian:12Package registry (OSV)
debian:postgresql-1717.10-0+deb13u1 · Debian:13Package registry (OSV)
debian:postgresql-1818.4-1 · Debian:14Package registry (OSV)
opensuse:postgresql1414.23-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:postgresql1515.18-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:postgresql1616.14-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:postgresql1717.10-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:postgresql1818.4-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:pg_repack0:1.4.8-1.module+el8.9.0+19797+c4ce5969 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:pg_repack-debuginfo0:1.4.8-1.module+el8.9.0+19797+c4ce5969 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:pg_repack-debugsource0:1.4.8-1.module+el8.9.0+19797+c4ce5969 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:pgaudit0:1.7.0-1.module+el8.9.0+19797+c4ce5969 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:pgaudit-debuginfo0:1.7.0-1.module+el8.9.0+19797+c4ce5969 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:pgaudit-debugsource0:1.7.0-1.module+el8.9.0+19797+c4ce5969 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgres-decoderbufs0:1.9.7-1.Final.module+el8.9.0+19797+c4ce5969 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgresql0:18.4-0.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:postgresql-test-rpm-macros0:18.4-0.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:postgresql170:17.10-0.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:postgresql17-test-rpm-macros0:17.10-0.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:postgresql180:18.4-0.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
suse:postgresql1414.23-160000.1.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)

+4

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2026-647191 days apartPostgreSQL logical decoding can dlopen arbitrary file
    28Monitor
  • CVE-2026-647091 days apartPostgreSQL fails to check type USAGE privilege
    17Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

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

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records