{"id":"CVE-2026-134848","aliases":["GHSA-36wf-f6m2-v42m"],"title":"pgjdbc lets a NUL character in a connection property add startup parameters","originalDescription":"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.","severity":{"cvss":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00659,"percentile":0.46438},"exploitDb":null},"affected":[{"ecosystem":"unknown","name":"org.postgresql:postgresql","range":">=0, <42.7.15","fixed":"42.7.15"}],"references":[{"url":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-36wf-f6m2-v42m","type":"vendor-advisory"},{"url":"https://repo.maven.apache.org/maven2","type":"web"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134848.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134848","type":"advisory"},{"url":"https://github.com/pgjdbc/pgjdbc","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-24T19:02:21.042Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134848","license":"NVD terms of use","firstSeenAt":"2026-11-23T17:41:18.721Z"},{"name":"osv","at":"2026-11-28T12:15:50.948Z","url":"https://osv.dev/vulnerability/CVE-2026-134848","license":"CC-BY 4.0","firstSeenAt":"2026-11-26T22:18:18.414Z"},{"name":"cvelistV5","at":"2026-11-24T11:51:10.295Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134848","license":"CVE Terms of Use","firstSeenAt":"2026-11-23T17:38:14.661Z"}],"firstSeenAt":"2026-11-23T17:38:14.661Z","publishedAt":"2026-11-23T16:59:18.939Z","modifiedAt":"2026-11-28T10:27:22.124Z"}