CVE-2026-123871
Last modified
CVE-2026-123871 is a medium-severity vulnerability rated 6.2/10 on the CVSS scale. Node.js discloses proxy credentials in ERR_PROXY_INVALID_CONFIG error messages. CVE-2026-48615 established that a proxy credential must not appear in a Node.js error message and redacted the username and password from ProxyConfig.href, but that fix missed four error paths in the same subsystem, one of them inside the same constructor, which interpolate the raw proxy URL, credentials included, into an ERR_PROXY_INVALID_CONFIG message. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
Node.js discloses proxy credentials in ERR_PROXY_INVALID_CONFIG error messages. CVE-2026-48615 established that a proxy credential must not appear in a Node.js error message and redacted the username and password from ProxyConfig.href, but that fix missed four error paths in the same subsystem, one of them inside the same constructor, which interpolate the raw proxy URL, credentials included, into an ERR_PROXY_INVALID_CONFIG message. The proxy URL comes from the environment, but the defect is the sink: a secret that Node.js redacts everywhere else is emitted verbatim into a much wider audience than the process environment, such as stderr, container logs, log aggregation, and crash reporting services. This vulnerability affects Node.js 26.x, 24.x, and 22.x.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| nodejs | node | >= 0.0.0, < 22.23.5; >= 23.0.0, < 24.22.3; >= 25.0.0, < 26.13.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-123871?
How severe is CVE-2026-123871?
How do I fix CVE-2026-123871?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-123865An unauthenticated HTTP/2 client can permanently leak Node.j…7.5
- CVE-2026-123866A use-after-free in Node.js HTTP/2 stream teardown can leak …7.5
- CVE-2026-123867A per-host mutual-TLS authorization bypass in Node.js lets a…4.2
- CVE-2026-123868An unauthenticated HTTP/2 client can exhaust Node.js server …5.9
- CVE-2026-12387Use After Free vulnerability in Arm Ltd Bifrost GPU Kernel D…5.1
- CVE-2026-123870The otterdog webapp evaluates a format-string built from the…9.5
- CVE-2026-123872A client certificate authentication bypass in Node.js TLS le…8.1
- CVE-2026-123874A use-after-free in Node.js HTTP/2 lets an unauthenticated c…7.5
- CVE-2026-123875A NULL pointer dereference in Node.js HTTP/2 lets an unauthe…5.9
- CVE-2026-123876A flaw was found in the default seccomp profile used by Podm…4.4
- CVE-2026-123877A certificate validation bypass in Node.js https.Agent lets …6.8
- CVE-2026-12388A flaw was found in the Identity Provider (IdP) mapper compo…6.5
Are you affected by CVE-2026-123871?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
