CVE-2026-142211
Superagent through 10.4.2 contains an information disclosure …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/forwardemail/superagent/blob/v10.4.2/src/node/index.js#L1825-L1827
- github.com/forwardemail/superagent/blob/v10.4.2/src/node/index.js#L734-L776
- github.com/forwardemail/superagent/issues/1869
- www.vulncheck.com/advisories/superagent-through-10.4.2-credential-leak-via-cross-origin-re
- nvd.nist.gov/vuln/detail/CVE-2026-142211
- cve.org/CVERecord?id=CVE-2026-142211
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.