Skip to main content

PostgreSQL CVE-2026-116303

| EUVDEUVD-2026-124484 LOW
Missing Authorization (CWE-862)
2026-11-12 PostgreSQL GHSA-5xwq-5r59-wqjw
3.1
CVSS 3.1 · Vendor: PostgreSQL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged database user
  2. Delivery
    Locate access-restricted cast function
  3. Exploit
    Invoke it via foreign key or to_json()
  4. Execution
    Execute cast bypassing EXECUTE check
  5. Impact
    Read function-specific confidential data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated PostgreSQL database user (PR:L) - not remote unauthenticated. The attacker must (1) identify a cast function in a target database that is access-restricted (user lacks EXECUTE), and (2) that cast function must have a confidentiality impact specific to its implementation; PostgreSQL states there are few or no practical examples of either. The missing-authorization check is reachable through type-conversion paths such as foreign key enforcement and to_json(). Limiting factors: valid database credentials are required, the attack only matters if such a restricted-and-sensitive cast function actually exists (non-default, effectively rare), and the impact is confined to confidentiality with no integrity or availability effect. The complete fix is updating to PostgreSQL 18.7, 17.12, 16.16, 15.20, or 14.25.

Impact

All signals converge on low real-world risk. The CVSS 3.1 base score is 3.1 (Low) with vector AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N: network-reachable but requiring an authenticated low-privileged database user (PR:L), high attack complexity (AC:H), and only limited confidentiality impact (C:L) with no integrity or availability effect. The vuln.today decision label is 'monitor', the weakest urgency tier, consistent with the low score. There is no CISA KEV listing and no public exploit reference in the input, so this is not confirmed exploited and no public exploit identified at time of analysis. No EPSS value was supplied, so exploitation probability cannot be quantified from this data. The AC:H rating is explained directly by the description: an attacker must search each database for an access-restricted cast function AND that function must happen to carry function-specific confidentiality impact, and PostgreSQL itself notes there are few or no practical examples of either condition. This is a genuine low-priority, defense-in-depth fix rather than an actionable threat - a high-rigor authorization-correctness issue whose practical exploitability is near-theoretical. Missing data: no EPSS, no SSVC vector, and no PoC reference were provided.

Exploit ScenarioDerived

An authenticated low-privileged PostgreSQL user triggers a type conversion - for example through a foreign key check or a to_json() call - that invokes a cast function they do not hold EXECUTE privilege on, bypassing the authorization check. To gain anything, the user must first locate a cast function in the database that is both access-restricted and carries confidentiality impact. No public exploit was identified at time of analysis, and PostgreSQL notes such a qualifying cast function is rare to nonexistent in practice.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 12, 2026

PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 fail to enforce EXECUTE privilege on cast functions invoked through implicit type-conversion paths such as foreign key enforcement and to_json(), allowing an authenticated database user to run access-restricted cast functions. Real-world impact is limited: PostgreSQL notes there are few or no practical examples of either a restricted cast function or a cast function whose implementation leaks confidential data, and the attacker must first survey each database to find such a function. No public exploit code or confirmed active exploitation was identified at time of analysis, and the assessed vector is confidentiality-only with high attack complexity (CVSS 3.1).

RemediationAI

Apply the vendor-released patch by upgrading to PostgreSQL 18.7, 17.12, 16.16, 15.20, or 14.25 as appropriate for your branch; these are the versions that close the missing authorization check on implicit cast function invocation. Deployments that cannot upgrade immediately can reduce exposure by reviewing databases for cast functions that are access-restricted and auditing whether any of them have confidentiality-relevant behavior, since the vulnerability is only exploitable when such a function exists, and by restricting database credentials and role grants so that untrusted users cannot explore schemas they do not need. Consult the vendor advisory at https://www.postgresql.org/support/security/CVE-2026-116303/ for the authoritative fix details.

Affected VersionsENISA

PostgreSQL 16 <16.16
PostgreSQL 18 <18.7
PostgreSQL 0 <14.25
PostgreSQL 17 <17.12
PostgreSQL 15 <15.20

Affected Packages

euvd postgresql fix: 14.25, 15.20, 16.16, 17.12, 18.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a missing authorization check (CWE-862) in PostgreSQL's type-conversion machinery. Casts in PostgreSQL can be implemented by functions, and a database user normally needs EXECUTE privilege on such a function to call it directly; however, when a cast is triggered implicitly by the server - for example while validating or enforcing a foreign key, or when to_json() serializes a composite value - the executor invokes the underlying cast function without verifying the invoking user's EXECUTE privilege. The attack path therefore requires an authenticated session (PR:L) and, per the vendor, a non-default configuration containing an access-restricted cast function whose implementation itself has a confidentiality impact; PostgreSQL states such examples are rare to nonexistent in practice, which is why the assessed complexity is high (AC:H) and impact is limited to low confidentiality with no integrity or availability effect. The affected component is identified only by the generic CPE cpe:2.3:a:n/a:postgresql, so version, not deployment platform, is the discriminator.

Know when PostgreSQL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (PostgreSQL) PRIMARY 3.1 LOW
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 3.1 LOW

Network-reachable SQL path but needs an authenticated user (PR:L) and depends on a rare restricted-and-sensitive cast function (AC:H); impact is limited confidentiality only, so I:N/A:N.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (PostgreSQL).

CVSS VectorVendor: PostgreSQL

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Nov 12, 2026 - 15:02 EUVD
CVE Published
Nov 12, 2026 - 14:15 cve.org
LOW 3.1

DescriptionCVE.org

Missing authorization in PostgreSQL type conversion allows a database user to invoke a cast function despite lacking EXECUTE privilege on that function, via foreign keys, to_json(), and others. A successful attack requires the attacker to search each database for access-restricted cast functions and identify confidentiality impact specific to each function implementation found. There are few or no practical examples of an access-restricted cast function or of a cast function having confidentiality impact. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
High
PostgreSQL is among the most widely deployed enterprise databases
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

16
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +16
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument 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 re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy