Bug 2582074 (CVE-2026-134848)

Summary: CVE-2026-134848 org.postgresql/postgresql: postgresql-jdbc: postgresql-jdbc: privilege escalation via startup parameter injection
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ant, aschwart, asyoung, aszczucz, boliveir, ccranfor, cescoffi, cmah, csuconic, dbruscin, drichtar, eglynn, ehelms, ewittman, fmongiar, gmalinko, gsmet, gtully, janstey, jjoyce, jmartisk, jpasqual, jpechane, jpretori, jschluet, jsherman, juwatts, kaycoth, kvanderr, lblicha, lhh, manderse, mburns, mgarciac, mhulan, mposolda, nipatil, ogajduse, olubyans, osousa, ozzy, pantinor, pdelbell, pjindal, prichard, rchan, rgemmell, rgodfrey, rguimara, rhel-process-autobot, rkubis, rmartinc, rstepani, sbiarozk, sdawley, smallamp, ssilvert, sthirugn, sthorger, tbish, tlavocat, tmielke, varjain, vmuzikar, watson-tool-maintainers, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in postgresql-jdbc. The driver does not properly reject NUL (null byte) characters within connection startup parameters. Because the database communication protocol separates parameters using NUL characters, an attacker capable of controlling connection properties or database URLs can inject arbitrary startup parameters into the connection handshake. This flaw can allow an attacker to modify connection settings or switch login roles, potentially leading to unauthorized access and privilege escalation on database servers that trust client connections.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-23 19:31:34 UTC
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.