CVE-2025-22248: Bitnami Pgpool II Unauthenticated Database Access Vulnerability

pgpool Updated 02 Oct 2025

Summary

13/05/2025
Yes i
Critical
Not published

CVE-2025-22248: The PgPool II component into a Bitnami Pgpool II container image comes by default configured with an 'repmgr' user that allows unauthenticated access to the database inside the cluster. Affects pgpool versions < 4.6.0-1. Fixed in 4.6.0-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

PgPool II is a middleware that works between PostgreSQL database servers and their clients. It provides connection pooling, load balancing, and replication features, enhancing database performance and reliability. However, a default configuration in the Bitnami Pgpool II container image exposes a significant security risk by allowing unauthenticated access to the database through a 'repmgr' user.

Vulnerability Detail

The vulnerability arises from the default configuration of the PgPool II component in the Bitnami Pgpool II container image, which includes an 'repmgr' user that permits unauthenticated access to the database within the cluster. If PgPool is exposed to external networks, an attacker could exploit this vulnerability to gain unauthorized access to the database service, potentially leading to data breaches or service disruptions.

How To Fix

Minimum fixed version

4.6.0-1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can mount and overwrite the Pgpool configuration file directly to disable the 'repmgr' user. This can be done by creating a custom configuration file and using the following command: 'docker run -v /path/to/custom_pgpool.conf:/opt/bitnami/pgpool/conf/pgpool.conf bitnami/pgpool'.

Conclusion

CVE-2025-22248 presents a critical vulnerability in the Bitnami Pgpool II container image, allowing unauthenticated access to the database. It is crucial to update to the patched version and implement security best practices to mitigate risks.

See every vulnerability recorded for pgpool →

Share this vulnerability

FAQ

The impact includes unauthorized access to the database, which could lead to data breaches or service disruptions.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If immediate updates are not possible, implement the workaround by securing the Pgpool configuration to disable the 'repmgr' user.

Yes, Vulert provides a service that monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

Best practices include regularly updating to the latest versions, configuring strong authentication methods, and restricting access to trusted networks.

References

Related vulnerabilities

Recent vulnerabilities recorded for pgpool.

How To Fix

Minimum fixed version

4.6.0-1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback