Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain unprivileged local OS account on DB host
-
DeliveryConnect to Postgres over Unix socket or loopback
-
ExploitMatch hard-coded trust rule, no credential presented
-
ExecutionAuthenticate as Postgres superuser
-
ImpactRead/modify/destroy all host databases
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires local access to the database host and an affected version (v0.1.0-v0.10.1). Under the systemd orchestrator there are effectively no further prerequisites: any unprivileged local operating-system account on the shared host can connect over the Unix socket or the 127.0.0.1/::1 loopback and is granted Postgres superuser via the hard-coded trust entries, even in default configuration and even when the operator supplied their own pg_hba_conf rules (those are appended below and never reached). Under Docker Swarm the socket and loopback belong to the Postgres container, so exploitation additionally requires code execution inside that container. Key limiting factors defenders should weigh: the vector is strictly local (not reachable from the network), publishing the Postgres port to the host does NOT expose these trust rules, and single-tenant systemd hosts with no untrusted local accounts have little practical exposure. Partial mitigation on v0.9.0-v0.10.1 is limited to restricting the Unix socket (unix_socket_permissions 0700, or 0770 with intended accounts in the postgres group), which closes only the socket path and not loopback; on v0.9.0+ upgrading to v0.11.0 is the only complete remedy. |
| Impact | Signals point to a genuine but deployment-dependent priority rather than an internet-wide emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8 HIGH) is confirmed local-only: there is no network attack surface, which caps mass/automated exploitation. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a serious issue that is not under active mass exploitation. No CISA KEV listing and no EPSS score were supplied, so exploitation-probability cannot be quantified from the input; the only references are the vendor GHSA advisory, the fixing PR #470, the fix commit, and the v0.11.0 release notes - i.e., no public exploit identified at time of analysis. The real-world severity splits sharply by orchestrator, and the vendor is explicit about this: under systemd the database runs on a shared multi-user host, so ANY unprivileged local OS account becomes a Postgres superuser with no prerequisites (this is the case the 7.8 reflects); under Docker Swarm the socket/loopback belong to the container, so reaching the trust entries first requires code execution inside the Postgres container, making exposure much narrower. A notable non-obvious fact from the evidence: publishing the Postgres port to the host does NOT expose these trust rules, because host-originating connections are not seen as 127.0.0.1/::1 - so operators who assume port-publishing is the risk are mis-modeling it. For systemd multi-tenant deployments this is a high-priority local privilege escalation to DB superuser; for single-tenant or Swarm deployments the practical risk is materially lower. Missing data to note explicitly: no EPSS, no KEV, no SSVC automatable/technical-impact fields, and no confirmed working exploit code were provided. |
| Exploit ScenarioDerived | On a systemd-orchestrated pgEdge Control Plane host (v0.1.0-v0.10.1), an attacker who already holds any low-privileged shell account on the database host runs psql over the Unix socket or loopback and is authenticated as the Postgres superuser with no credentials, because the generated pg_hba.conf opens with hard-coded trust entries that pre-empt operator rules. They then read, alter, or destroy all databases on the host. No public exploit code is identified; the attack requires only a standard psql client and a local account, so complexity is low (AC:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Any unprivileged local operating-system account on a database host managed by pgEdge Control Plane v0.1.0 through v0.10.1 can authenticate to PostgreSQL as any role, including superuser, without presenting a credential, because the generated pg_hba.conf opens with hard-coded trust rules. The flaw is reachable locally through the Unix socket or the 127.0.0.1/::1 loopback; under the systemd orchestrator it converts any local account on the shared host into a database superuser with effectively no further prerequisites, while under Docker Swarm the socket and loopback belong to the Postgres container, so reaching them additionally requires code execution inside that container. Publishing the Postgres port to the host does not expose these rules, the vector is strictly local (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), and no public exploit code was identified at time of analysis; v0.11.0 is the complete fix.
RemediationAI
Vendor-released patch: v0.11.0. Upgrade pgEdge Control Plane to 0.11.0 or later, which stops generating trust entries in pg_hba.conf and lets operator-supplied local authentication rules take effect (release: https://github.com/pgEdge/control-plane/releases/tag/v0.11.0; changelog: https://github.com/pgEdge/control-plane/blob/main/changes/v0.11.0.md; fix commit 88659f7388fc6c86125e60475aa83810171145b7 via PR 470). On v0.9.0 and later, upgrading is the only complete remedy, because API validation rejects hba_file and ident_file overrides and pg_hba_conf entries are appended below the hard-coded block. For the interim on v0.1.0 through v0.8.1, operators can take the authentication files out of Patroni's control by copying the generated pg_hba.conf and pg_ident.conf, editing the copies, and pointing hba_file and ident_file at them through node-level postgresql_conf; this is effective but must be repeated per instance, including every node added afterwards, and it is no longer permitted after the validation change on later releases. On v0.9.0 through v0.10.1 the only partial mitigation is restricting the Unix socket by setting unix_socket_permissions to 0700, or to 0770 with the intended accounts placed in the postgres group; this closes the socket path only and no supported configuration closes the loopback path on those versions, so those deployments should prioritize the upgrade. Verification is straightforward: inspect the generated pg_hba.conf on a database node for the leading trust entries. Note that the trust rules are not reachable from the network even if the Postgres port is published to the host, and that a public PoC reference exists in the form of upstream test code; it is not verified as working exploit code.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
pgEdge Control Plane provisions and orchestrates Postgres (under Patroni) across hosts and generates each instance's host-based authentication file. In v0.1.0 through v0.10.1 the generator emitted six hard-coded entries at the very top of pg_hba.conf: local/host trust rules for all users and all databases over the Unix socket, 127.0.0.1/32 and ::1/128, plus mirrored replication entries. PostgreSQL evaluates pg_hba.conf top-down and stops at the first matching rule, so these entries not only granted passwordless access to any local connection but also pre-empted operator-supplied rules in the pg_hba_conf field of a node specification, which are appended lower in the file and were therefore never reached for local or loopback connections. The root cause is the missing-authentication-for-critical-function class (CWE-306), compounded by the insecure default configuration class (CWE-1188). Both supported orchestrators emitted the block, but exposure differs: on systemd the database runs natively on a shared multi-user host and the socket/loopback are host-wide, whereas on Docker Swarm they belong to the Postgres container. The upstream fix in v0.11.0 removes the trust entries, restores operator-supplied local authentication rules, and drops API validation that had rejected hba_file and ident_file settings, so custom auth files become usable again; it also adds end-to-end coverage asserting that an unrelated local OS user is denied over the socket while the postgres OS user still authenticates via peer.
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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploitation needs a local OS account on the host so AV:L/PR:L, no credential or interaction is required once local giving AC:L/UI:N, and superuser access yields full C:H/I:H/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
pgEdge Control Plane is a distributed application for managing and orchestrating Postgres databases across multiple hosts. From 0.1.0 to 0.10.1, generated pg_hba.conf files began with hard-coded trust entries for Unix-socket and loopback connections. Because PostgreSQL evaluates the file from top to bottom, those entries also preempted operator-supplied rules in the pg_hba_conf field. Under the systemd orchestrator, any unprivileged operating-system account on a database host could authenticate as any PostgreSQL role, including the superuser, without credentials and obtain full control of the host's databases. Under Docker Swarm, reaching the container-local socket or loopback interface required code execution inside the database container. Publishing the PostgreSQL port to the host did not expose these trust rules because host connections did not appear to originate from 127.0.0.1 or ::1. This issue is fixed in version 0.11.0.
Articles & Coverage 2
Technical POC Analysis
CWE-306, Missing Authentication for Critical Functionality (the advisory also tags CWE-1188, insecure default initialization).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-125323 is a high-severity vulnerability in pgEdge Control Plane (v0.1.0-v0.10.1) that allows any local user on a database host to gain superuser access to PostgreSQL without credentials. This is particularly dangerous under the systemd orchestrator, where any local account-including low-privileged or compromised service accounts-can escalate to full database control, potentially leading to data breach, tampering, or service disruption. Leadership should prioritize immediate mitigation because the flaw enables trivial privilege escalation and affects the confidentiality, integrity, and availability of critical database assets.
No vendor-released patch identified at time of analysis; interim mitigation: manually replace hard-coded trust rules in pg_hba.conf with strong authentication methods and restrict local OS access to trusted users.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
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
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
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
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
EUVD-2026-121705
GHSA-vq9p-w6wv-cr25
NVD
CVE.org
EPSS
Exploit-DB