All vulnerabilities

Go

CVE-2026-125323

pgEdge Control Plane generates pg_hba.conf with trust authentication for local and loopback connections

Severity
High 7.8
Published
12 Nov 2026
Last changed
12 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.11.0
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Insecure default (CWE-1188)Missing authentication (CWE-306)
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-vq9p-w6wv-cr25
Sources
OSV.dev and GitHub

Description

Every pg_hba.conf generated by the pgEdge Control Plane begins with a hard-coded block of trust entries covering Unix-socket and loopback connections. Any operating-system account that can reach the Postgres socket or the loopback interface on a database host can authenticate as any Postgres role, including the superuser, without presenting a credential.

The generated file opens with the following six entries:

Postgres evaluates pg_hba.conf top-down and stops at the first matching rule. Because these entries are emitted at the top of the file, they also pre-empt every rule below them — including entries supplied by an operator through the pg_hba_conf field of a database node specification, which are appended lower in the file and are therefore never reached for local or loopback connections.

Both supported orchestrators emit these entries, but exposure differs by deployment model:

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

The available mitigation differs by version, and no mitigation is complete on current releases.

v0.1.0 – v0.8.1. An operator could take the authentication files out of Patroni's control entirely: copy the generated pg_hba.conf and pg_ident.conf, edit the copies, and point the hba_file and ident_file settings at them through node-level postgresql_conf. This is effective but must be repeated per instance, including for every node added afterwards.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
github.com/pgEdge/control-planeGo · osv:Go:github.com/pgEdge/control-plane
  • Every version before 0.11.0

About github.com/pgEdge/control-plane

This is the only vulnerability in github.com/pgEdge/control-plane in our list.

References