Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-142201— pg-protocol through 1.16.1 NUL Byte Injection via StartupMessage Parameters

Quick assessment

Affected
brianc pg-protocol
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

pg-protocol 1.16.1 及以下(node-postgres pg 8.23.1 及以下)在 序列化器中存在 NUL 字节/空字节注入漏洞,允许攻击者添加服务器参数。如果攻击者能够影响 application_name 或 database 等连接值,则可注入 search_path 或第二个 database 键,从而改变会话的数据库选择或 schema 解析。

CVSS 4.8 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
brianc pg-protocol ≤ 1.16.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-142201

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pg-protocol through 1.16.1 NUL Byte Injection via StartupMessage Parameters
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
空字节或NULL字符转义处理不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
brianc pg-protocol 0 ~ 1.16.1 -

II. Public POCs for CVE-2026-142201

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-142201

请登录查看更多情报信息。

Other References for CVE-2026-142201 (4)

IV. Related Vulnerabilities