CVE-2026-142201

pg-protocol through 1.16.1 NUL Byte Injection via StartupMessage Parameters

Published Dec 2, 2026 CVSS 4.0 · 6.3 Medium EPSS n/a KEV · Not listed
Description
pg-protocol through 1.16.1 (node-postgres pg through 8.23.1) contains a NUL byte injection vulnerability in the startup() serializer that allows attackers to add server parameters. Attackers who influence connection values like application_name or database can inject search_path or a second database key to change the session's database or schema resolution.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description pg-protocol through 1.16.1 (node-postgres pg through 8.23.1) contains a NUL byte injection vulnerability in the startup() serializer that allows attackers to add server parameters. Attackers who influence connection values like application_name or database can inject search_path or a second database key to change the session's database or schema resolution.
Title pg-protocol through 1.16.1 NUL Byte Injection via StartupMessage Parameters
Weaknesses CWE-158
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses
  • CWE-158

    Improper Neutralization of Null Byte or NUL Character

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 2, 2026, 4:50 PM
Reserved
Dec 2, 2026, 3:28 PM
Status
Received
Published
Dec 2, 2026, 5:17 PM
Modified
Dec 2, 2026, 5:17 PM