What is CVE-2026-134848?
CVE-2026-134848 is a high-severity security feature bypass vulnerability in pgjdbc, published on 23 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
pgjdbc, the PostgreSQL JDBC Driver, does not refuse a NUL character in a startup parameter. The StartupMessage is a list of NUL-terminated strings, so a NUL in the database name, user, currentSchema, options or ApplicationName adds further parameters. %00 in a URL decodes to a NUL. Someone who controls part of the URL or a property can choose another login role or add replication=database, although the connection still has to pass the authentication of that role. On a server that trusts the client, the attacker can log in as any role. All versions before 42.7.15 are affected, and 42.7.15 fixes the problem.
Weakness: CWE-158
How severe is CVE-2026-134848?
CVE-2026-134848 scores 7.4 out of 10 under CVSS 3.1, which is high severity. It was scored by PostgreSQL.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Which versions are affected by CVE-2026-134848?
An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.
How do I fix CVE-2026-134848?
Upgrade pgjdbc to 42.7.15 or later. The advisory says that version fixes it.
Upgrade to the fixed version, and do not rely on a single control for protection. More about Security feature bypass.
Is CVE-2026-134848 being exploited?
There is no known exploitation of CVE-2026-134848 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-134848, GHSA-36wf-f6m2-v42m, UBUNTU-CVE-2026-134848.