{"id":"CVE-2026-134848","aliases":[],"cve":{"records":[{"id":"CVE-2026-134848","source":"PostgreSQL","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-22T17:13:47.180Z","published":"2026-11-23T16:59:18.939Z","modified":"2026-11-23T19:26:31.681Z"}],"publishers":[{"name":"PostgreSQL","role":"CNA","organizationId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","modified":"2026-11-23T16:59:18.939Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-23T19:26:31.681Z"}],"references":[{"url":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-36wf-f6m2-v42m","tags":["vendor-advisory"],"source":"PostgreSQL"}],"weaknesses":[{"id":"CWE-158","description":"CWE-158 Improper Neutralization of Null Byte or NUL Character","source":"PostgreSQL"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-23T19:25:37.627867Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"total"}]}]},"title":"pgjdbc lets a NUL character in a connection property add startup parameters","titleSource":"PostgreSQL","descriptionSource":"PostgreSQL","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.","score":7.4,"severity":"high","published":"2026-11-23T16:59:18.939Z","modified":"2026-11-23T19:26:31.681Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"pgjdbc","name":"pgjdbc","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"42.7.15","versionType":"maven"}],"defaultStatus":"unaffected","cpes":[],"source":"PostgreSQL","url":"https://www.cve.org/CVERecord?id=CVE-2026-134848"}],"remediation":[{"text":"Upgrade to pgjdbc 42.7.15 or later.","source":"PostgreSQL","url":"https://www.cve.org/CVERecord?id=CVE-2026-134848"},{"text":"Refuse a NUL character in connection values that come from untrusted input.","source":"PostgreSQL","url":"https://www.cve.org/CVERecord?id=CVE-2026-134848"}],"references":["https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-36wf-f6m2-v42m"],"sources":[{"name":"CVE","id":"CVE-2026-134848","modified":"2026-11-23T19:26:31.681Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134848"}],"assessments":[{"source":"PostgreSQL","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4}],"sourceAffected":[],"observedAt":"2026-11-23T19:39:00.228Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T23:05:31.835Z"},"coverage":[{"source":"NVD","status":"no-result","checkedAt":"2026-11-23T17:10:31.531Z","attemptedAt":"2026-11-23T17:10:31.531Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-23T17:10:31.529Z","attemptedAt":"2026-11-23T17:10:31.529Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-23T17:10:31.531Z","attemptedAt":"2026-11-23T17:10:31.531Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-23T17:10:31.531Z","attemptedAt":"2026-11-23T17:10:31.531Z"}],"evidence":[],"aiSummary":{"text":"pgjdbc, the PostgreSQL JDBC Driver, is vulnerable to improper neutralization of null bytes in connection properties, allowing attackers to add startup parameters. Affected versions are before 42.7.15. Attackers with control over part of the URL or a property can choose another login role or add replication parameters.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-23T17:11:02.134Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-134848"}]}}