CVE-2026-134848
HIGH 7.4CVSS 3.1pgjdbc lets a NUL character in a connection property add startup parameters
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.
- Published
- 23 Nov 2026
- Last modified
- 24 Nov 2026
- Assigned by
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- NVD status
- Awaiting Analysis
- Weakness
- CWE-158
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CVE List | PostgreSQL | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.maven.apache.org/maven2 | org.postgresql:postgresql | < 42.7.15 | 42.7.15 |
References
- https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-36wf-f6m2-v42m · vendor-advisory
History
- 25 Nov 2026 20:34 UTC · CVE List: first stored (published 23 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 23 Nov 2026)