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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 02 Dec 2026 17:00:00 +0000

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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-02T16:50:48.156Z

Reserved: 2026-12-02T15:28:38.790Z

Link: CVE-2026-142201

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-02T17:17:41.743

Modified: 2026-12-02T17:17:41.743

Link: CVE-2026-142201

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses