CVE-2026-125323: pgEdge Control Plane generates pg_hba.conf with trust authentication for local and loopback connections
Published 2026-11-12 · Updated 2026-11-23 · Also known as GHSA-vq9p-w6wv-cr25, GO-2026-6973
Summary
The pgEdge Control Plane generates pg_hba.conf with hard‑coded `trust` entries at the top, allowing any operating‑system account that can reach the Postgres Unix socket or loopback interface to authenticate as any Postgres role-including superuser-without credentials. Operators using affected versions should upgrade to v0.11.0 immediately.
Who is affected
Affected deployments include pgEdge Control Plane v0.1.0 through v0.10.1 under the systemd orchestrator, where any local account on the host can connect as Postgres superuser, and under Docker Swarm, where exposure is narrower (requires code execution inside the Postgres container). The vulnerability exists because the generated `pg_hba.conf` places six `trust` entries at the top, which pre‑empt all operator‑supplied authentication rules lower in the file. This means any OS account with socket or loopback access gains full database control, including read, modification, and destruction of all data.
Exploitability
The CVSS vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H indicates that local access with low complexity and minimal privileges is sufficient for exploitation, as the trust entries pre‑empt all other rules. The EPSS score of 0.001 (percentile 0.019) suggests very low empirical likelihood of exploitation, and CISA KEV status is `no`, meaning no active exploitation in the wild has been reported. However, the mechanism-hard‑coded trust entries at the top of pg_hba.conf-makes exploitation trivial for any eligible local user.
Remediation
- Upgrade pgEdge Control Plane to v0.11.0 or later, which removes the hard‑coded `trust` entries from generated `pg_hba.conf` and restores operator‑supplied authentication rules.
- As a version‑specific mitigation, restrict the Unix socket by setting `unix_socket_permissions` to `0700` or `0770` with intended accounts in the `postgres` group (v0.9.0-v0.10.1), but note this does not close the loopback path; on v0.1.0-v0.8.1, copy generated `pg_hba.conf` and `pg_ident.conf`, edit them externally, and reference them via node‑level `postgresql_conf` (to be repeated per instance).
How to check your project
- Check the pgEdge Control Plane version; affected versions are v0.1.0 through v0.10.1, and inspect the generated pg_hba.conf for the hard‑coded trust entries at the top.
Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/pgEdge/control-plane |
>= 0, < 0.11.0 | 0.11.0 | go get github.com/pgEdge/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Attack vector | Local |
|---|---|
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
FAQ
What exact pg_hba.conf entries does the flaw introduce?
The generated file opens with six trust entries: local all all trust, host all all 127.0.0.1/32 trust, host all all ::1/128 trust, local replication all trust, host replication all 127.0.0.1/32 trust, and host replication all ::1/128 trust.
Which pgEdge Control Plane versions are affected by CVE-2026-125323?
Versions v0.1.0 through v0.10.1, inclusive, are affected; the vulnerability is fixed in v0.11.0.
Is CVE-2026-125323 known to be actively exploited in the wild?
No, CISA Known Exploited Vulnerabilities status is "no"; there are no reported instances of active exploitation.
Original advisory description
References
- WEB https://github.com/pgEdge/control-plane/security/advisories/GHSA-vq9p-w6wv-cr25
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-125323
- WEB https://github.com/pgEdge/control-plane/pull/470
- WEB https://github.com/pgEdge/control-plane/commit/88659f7388fc6c86125e60475aa83810171145b7
- PACKAGE https://github.com/pgEdge/control-plane
- WEB https://github.com/pgEdge/control-plane/blob/main/changes/v0.11.0.md
- WEB https://github.com/pgEdge/control-plane/releases/tag/v0.11.0
Source records: GHSA-vq9p-w6wv-cr25, GO-2026-6973 (OSV.dev) · EPSS by FIRST, 2026-11-26.