CVE-2025-22248: [pgpool] Unauthenticated access to postgres through pgpool
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 PGPOOLSRCHECKUSER 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-22248?
CVE-2025-22248 is classified as a high severity vulnerability due to its potential to allow unauthenticated access to the database.
How do I fix CVE-2025-22248?
To fix CVE-2025-22248, configure the 'repmgr' user to require authentication or remove it if not needed.
What software is affected by CVE-2025-22248?
CVE-2025-22248 affects the Bitnami pgpool Docker image and the Bitnami postgres-ha Kubernetes chart.
What type of access does CVE-2025-22248 allow?
CVE-2025-22248 allows unauthenticated access, potentially giving unauthorized users access to the database.
How can I prevent CVE-2025-22248 in my deployment?
To prevent CVE-2025-22248, ensure that all users have secure authentication methods and avoid default configurations.