Skip to main content

PostgreSQL EUVDEUVD-2026-124419

| CVE-2026-120145 HIGH
Missing Authorization (CWE-862)
2026-11-12 PostgreSQL GHSA-j3p3-grqw-h5vf
8.8
CVSS 3.1 · Vendor: PostgreSQL
View

Attack ChainAIDerived

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

  1. Access
    Compromise upstream publisher node
  2. Exploit
    Subscriber superuser replicates from it
  3. Execution
    Name system catalog as replication target
  4. Impact
    Execute arbitrary code as PostgreSQL OS user

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

Logical replication must be in use AND the vulnerable subscription must be owned by a superuser - the description states explicitly that only superuser-owned subscriptions are vulnerable, so subscriptions owned by non-superusers are not affected. The attacker must control or have compromised the publisher that the superuser's subscription replicates from, and the triggering action is the publisher naming a system catalog as a replication target. Limiting factors: the UI:R metric reflects that a superuser must first have created/owned the subscription (not a default state); the exact low-level mechanism by which naming a system catalog yields OS-level code execution is not detailed in the available source. Successful exploitation yields code execution as the operating-system user running PostgreSQL.

Impact

Signals are partly strong and partly gating. The CVSS 3.1 base score of 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) reflects network reach, low complexity, and full confidentiality/integrity/availability loss via arbitrary code execution. However, the raw PR:N/AC:L framing understates a significant real-world precondition stated in the description: exploitation requires a subscription that is OWNED BY A SUPERUSER and a publisher under attacker control, and the UI:R flag reflects that a superuser must first have configured that subscription - so this is not a generic internet-facing, unauthenticated RCE against a default PostgreSQL install. The vuln.today Decision label is 'this_week' (not act_now/emergency). Exploitation status: no public exploit identified at time of analysis - KEV is not listed (not in CISA KEV), and no PoC or exploit reference is provided. EPSS is MISSING from the input and cannot be cited. No SSVC decision tree (automatable/technical-impact) was supplied, so that framework cannot be applied. Net: a genuinely serious code-execution flaw for environments that use logical replication with superuser-owned subscriptions, but its blast radius is constrained by that specific configuration rather than being a broadly automatable mass-exploitation issue; prioritize patching where logical replication is in use, consistent with the 'this_week' urgency.

Exploit ScenarioDerived

An attacker who controls or has compromised an upstream PostgreSQL publisher waits for (or induces) a downstream server whose superuser owns a logical-replication subscription to replicate from it. By naming a system catalog as the replication target, the malicious publisher abuses the missing authorization check to run arbitrary code as the operating-system account running PostgreSQL on the subscriber. No public exploit code is identified at time of analysis, and the scenario depends on a superuser-owned subscription already being configured (UI:R).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 12, 2026

Arbitrary code execution in PostgreSQL logical replication affects deployments running versions before 18.7, 17.12, 16.16, 15.20, and 14.25 when a subscription is owned by a superuser and replicates from a publisher the attacker controls or has compromised. The publisher can name a system catalog as a replication target, exploiting a missing authorization check to run code as the operating system user that runs PostgreSQL. The CVSS 3.1 vector is 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H); the UI:R metric reflects that a superuser must have created or owned the subscription, and no public exploit or CISA KEV entry was identified at time of analysis, so remediation is scheduled for this week rather than treated as confirmed active exploitation.

RemediationAI

Upgrade PostgreSQL to the fixed release for your branch: 18.7, 17.12, 16.16, 15.20, or 14.25, as listed in the PostgreSQL advisory at https://www.postgresql.org/support/security/CVE-2026-120145/. Updating is the complete fix because it addresses the missing authorization check in logical replication. If upgrading must be staged, reduce exposure by ensuring logical replication subscriptions are owned by non-superuser roles, since the vendor states that only superuser-owned subscriptions are vulnerable; this is a compensating control and does not fix the underlying authorization flaw. Also treat publishers as trusted infrastructure, because exploitation requires the attacker to control or have compromised the publisher that a superuser-owned subscription replicates from, and restrict replication connectivity so untrusted systems cannot act as publishers.

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

PostgreSQL logical replication uses a publisher/subscriber model in which a subscriber creates a subscription that connects to a publisher and receives changes for selected tables or sequences. This CVE is a missing authorization flaw (CWE-862) in that path: a compromised publisher can name a system catalog as a replication target, and the subscription-side code does not adequately restrict that target, leading to arbitrary code execution as the operating system user running the superuser-owned subscription. The PostgreSQL project limits the vulnerability to subscriptions owned by a superuser; subscriptions owned by non-superusers are not affected. The CVSS vector indicates network reachability, low attack complexity, no privileges required on the attacker side, and user interaction (UI:R), which in this case corresponds to the superuser having created or owned the vulnerable subscription rather than a default configuration. The available source does not detail the exact low-level mechanism by which catalog naming results in OS-level code execution, so that trigger path should be treated as described by the vendor rather than independently reconstructed.

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 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Attacker on the publisher side needs no privileges on the target (PR:N) but relies on a superuser having configured the subscription (UI:R); the missing authz yields full OS-user code execution (C:H/I:H/A:H).

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

Primary rating from Vendor (PostgreSQL).

CVSS VectorVendor: PostgreSQL

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

Lifecycle Timeline

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

DescriptionCVE.org

Missing authorization in PostgreSQL logical replication allows a compromised publisher to execute arbitrary code as the operating system user running the superuser-owned subscription, via naming a system catalog as a replication target. Only subscriptions owned by a superuser are vulnerable. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Executive ViewAI

Why It Matters

A high-severity vulnerability in PostgreSQL's logical replication feature could allow an attacker to execute arbitrary code on database servers, potentially compromising sensitive data and critical business systems. The risk is concentrated in environments where superuser-owned subscriptions replicate from untrusted publishers, requiring immediate inventory and remediation to prevent unauthorized access or service disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
High
PostgreSQL is one of the most widely deployed enterprise/open-source relational databases
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

Vendor StatusVendor

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