{"id":"CVE-2026-134848","aliases":["CVE-2026-134848"],"related":[],"kind":"vulnerability","state":"published","title":"pgjdbc lets a NUL character in a connection property add startup parameters","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-23T16:59:18.939Z","modified":"2026-11-24T18:56:39.360Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"}],"cwes":["CWE-158"],"affected":[{"ranges":[{"type":"maven","introduced":"0","fixed":"42.7.15","status":"affected"}],"vendor":"pgjdbc","product":"pgjdbc","package":"org.postgresql:postgresql","repo":"https://github.com/pgjdbc/pgjdbc","source":"cvelist"}],"references":[{"url":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-36wf-f6m2-v42m","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Sehrope Sarkuni"],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-23T19:25:37.627Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-134848","url":"https://www.cve.org/CVERecord?id=CVE-2026-134848","licence":"CVE Terms of Use","modified":"2026-11-23T19:26:31.681Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-134848","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134848","licence":"Public domain","modified":"2026-11-24T18:56:39.360Z"}],"updatedAt":"2026-11-25T22:59:52.673Z","epss":{"score":0.00659,"percentile":0.52823,"date":"2026-12-01T12:00:22.000Z"}}