CVE-2026-142211: Superagent through 10.4.2 Credential Leak via Cross-Origin Redirect Headers

Published Dec 2, 2026
·
Updated

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.

Affected Software

1 affected component
npm/superagent<=10.4.2

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

Which applications are exposed to credential leakage?

Applications using affected Superagent versions are exposed when they make requests that include Authorization, Cookie, or Proxy-Authorization headers and follow a redirect to a different origin. The redirect chain must include an attacker-controlled server or otherwise redirect to an attacker-controlled host.

2

What does an attacker need to exploit this issue?

An attacker needs to cause an affected request to follow a cross-origin redirect to a host they control. They can use a 305 or another redirect response to receive forwarded bearer tokens, basic-auth credentials, session cookies, or proxy credentials.

3

Are credentials sent only to the original destination at risk?

No. The issue occurs because Request.prototype._redirect forwards sensitive headers when the redirect target changes origin, allowing a different host in the redirect chain to receive them.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203