Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
FAQ
What is CVE-2026-134848?
CVE-2026-134848 is a vulnerability with a CVSS score of 7.4 (HIGH). 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, ...
How severe is CVE-2026-134848?
CVE-2026-134848 has been rated HIGH with a CVSS base score of 7.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-134848?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.