AploSec / Disclosures / CVE-2026-142211

High 8.2ReportedNo fix listedCWE-212npm

Superagent through 10.4.2 Credential Leak via Cross-Origin Redirect Headers

CVE-2026-142211 · published 2026-12-02

In plain words: this type of bug can expose passwords, tokens or private data to people who should not see them (information exposure). No fixed release is listed yet.

Summary

CVE-2026-142211 affects superagent (npm) <= 10.4.2: Credential Leak via Cross-Origin Redirect Headers (CWE-212). No fixed release is listed. CVSS 4.0 base score 8.2 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

Superagent through 10.4.2 contains an information disclosure vulnerability in Request.prototype._redirect that forwards Authorization, Cookie and Proxy-Authorization headers to a different origin on redirect. Attacker-controlled servers in a redirect chain can return a 305 or other redirect to their host to capture bearer tokens, basic-auth credentials, session cookies or proxy credentials.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
High 8.2CVSS 4.0, scored by VulnCheck in the CVE record
Package
superagent
Ecosystem
npm
Affected
<= 10.4.2
Fixed
None
Weakness
CWE-212
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder