CVE-2026-116245
Last modified
CVE-2026-116245 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. libpq looks a connection service up in the service file of the operating-system account running pgAdmin 4, and an entry there can hold a password or name a password file or client certificate. In server mode any user could set a server's Service, or a "service" connection parameter, to one of those entries and connect with its credentials.
Description
libpq looks a connection service up in the service file of the operating-system account running pgAdmin 4, and an entry there can hold a password or name a password file or client certificate. In server mode any user could set a server's Service, or a "service" connection parameter, to one of those entries and connect with its credentials. A PGPASSWORD or PGSERVICE variable set for that account was likewise used by libpq for every connection without a value of its own and passed on to the utilities, and pg_dumpall read a maintenance database name such as "service=..." as a connection string. The fix adds the SERVER_MODE_ALLOWED_SERVICES setting, empty by default: in server mode only a listed service can be used, the servicefile parameter is refused, and PGPASSWORD and PGSERVICE are removed from pgAdmin's environment at startup. The allowlist is checked again on the final connection string, and the pg_dumpall database name is wrapped as a connection string. This issue affects pgAdmin 4: before 9.19.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pgadmin.org | pgAdmin 4 | < 9.19 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-116245?
How severe is CVE-2026-116245?
How do I fix CVE-2026-116245?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-11624The Model Context Protocol has a security warning advising s…9.4
- CVE-2026-116240In server mode pgAdmin 4 validates a path into the user's st…6.5
- CVE-2026-116241pgAdmin 4's Import/Export Data tool wraps a user's query exp…9.9
- CVE-2026-116242pgAdmin 4 opens SSH tunnels with the sshtunnel library but g…8.2
- CVE-2026-116243pgAdmin 4 runs pg_dump, pg_restore, pg_dumpall and psql from…7.5
- CVE-2026-116244When a pgAdmin 4 connection was not meant to use a Kerberos …8.2
- CVE-2026-116246To pass a server's password to psql and to the utilities pgA…6.5
- CVE-2026-116247When a server in pgAdmin 4 had no password file, client cert…8.2
- CVE-2026-116248In pgAdmin 4 server mode only administrators are meant to sh…6.8
- CVE-2026-116249In server mode pgAdmin 4 resolves a server's password file, …8.4
- CVE-2026-11625Bytes::Random::Secure versions through 0.29 for Perl share i…7.5
- CVE-2026-116250In server mode pgAdmin 4 validates a path a user gives for a…6.5
Are you affected by CVE-2026-116245?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
