PostgreSQL JDBC Driver Vulnerability Exposes User Roles and Parameters
CVE-2026-134848
7.4HIGH
What is CVE-2026-134848?
The PostgreSQL JDBC Driver contains a vulnerability that allows a NUL character in a startup parameter, which can lead to unauthorized access and manipulation of user roles. This vulnerability arises since the driver does not validate input properly, allowing for additional parameters to be added through NUL-terminated strings. An attacker controlling part of a URL can exploit this flaw to log in as different roles on trusted servers, provided they pass the necessary authentication. Versions prior to 42.7.15 are affected, which addresses this issue.
Affected Version(s)
pgjdbc 0 < 42.7.15
