CVE-2025-22248

[pgpool] Unauthenticated access to postgres through pgpool

State
Published
Severity
9.4 Critical
Published
May 13, 2025
Updated
May 13, 2025
Reserved
Jan 2, 2025

Read the record on cve.org

Description

The bitnami/pgpool Docker image, and the bitnami/postgres-ha k8s chart, under default configurations, comes with an 'repmgr' user that allows unauthenticated access to the database inside the cluster. The PGPOOL_SR_CHECK_USER is the user that Pgpool itself uses to perform streaming replication checks against nodes, and should not be at trust level. This allows to log into a PostgreSQL database using the repgmr user without authentication. If Pgpool is exposed externally, a potential attacker could use this user to get access to the service. This is also present within the bitnami/postgres-ha Kubernetes Helm chart.

Scores

CVSSScoreVectorSource
4.09.4 CriticalCVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:Hvmware

Weaknesses

  • CWE-1188 Initialization of a Resource with an Insecure Default

Affected Products

ProductVersions
BitnamiVMware
  • before 4.6.0-debian-12-r8Affected
BitnamiVMware
  • before 16.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.