# CVE-2026-125323: pgEdge Control Plane generates pg_hba.conf with trust authentication for local and loopback connections


- **Severity:** High 7.8 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 10 Nov 2026
- **Updated:** 12 Nov 2026
- **Also known as:** GHSA-vq9p-w6wv-cr25

## What is CVE-2026-125323?

CVE-2026-125323 is a high-severity vulnerability in pgEdge control-plane, published on 10 Nov 2026. 

### Official description

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.

Weakness: CWE-306 (Missing Authentication for Critical Functionality), CWE-1188 (Initialization of a Resource with an Insecure Default)

## Which versions are affected by CVE-2026-125323?

1 open source package ship an affected version, including github.com/pgEdge/control-plane.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/pgEdge/control-plane` | Go | All versions | 0.11.0 |

## How do I fix CVE-2026-125323?

Upgrade github.com/pgEdge/control-plane to 0.11.0 or later.

## Is CVE-2026-125323 being exploited?

There is no known exploitation of CVE-2026-125323 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-125323 and fix it if it is affected.

What it is: CVE-2026-125323 is a high-severity vulnerability in pgEdge control-plane, published on 10 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-125323 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/pgEdge/control-plane (Go): affected all versions; fixed in 0.11.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-125323/ (Markdown: https://insights.sbomify.com/CVE-2026-125323/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-125323
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-125323
- OSV: https://osv.dev/vulnerability/CVE-2026-125323

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-125323/
Summaries are generated and may contain mistakes; the official description above is the record.
