All vulnerabilities

npm

CVE-2026-142211

Superagent through 10.4.2 Credential Leak via Cross-Origin Redirect Headers

Severity
High 8.2
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Weakness
CWE-212
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

Description

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.

From the CVE Program.

Affected software

SoftwareAffected versions
superagentnpm · osv:npm:superagent
  • Every version up to 10.4.2

About superagent

Weekly downloads (npm)
32,104,610npm, 2 Dec 2026

This is the only vulnerability in superagent in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142211