{"id":"CVE-2026-142211","summary":"Superagent through 10.4.2 Credential Leak via Cross-Origin Redirect Headers","details":"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.","modified":"2026-12-02T23:46:01.514131504Z","published":"2026-12-02T16:50:35.578Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-212"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142211.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142211.json"},{"type":"PACKAGE","url":"https://github.com/forwardemail/superagent"},{"type":"ARTICLE","url":"https://github.com/forwardemail/superagent/blob/v10.4.2/src/node/index.js#L1825-L1827"},{"type":"ARTICLE","url":"https://github.com/forwardemail/superagent/blob/v10.4.2/src/node/index.js#L734-L776"},{"type":"REPORT","url":"https://github.com/forwardemail/superagent/issues/1869"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142211"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/superagent-through-10.4.2-credential-leak-via-cross-origin-redirect-headers"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/forwardemail/superagent","events":[{"introduced":"0"},{"last_affected":"d26bf6ae1a181a00dc71b756d03e8120b92207c4"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"10.4.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v10.4.2","v10.4.1","v10.4.0","v10.3.0","v10.2.3","v10.2.2","v10.2.1","v10.2.0","v10.1.1","v10.1.0","v10.0.2","v10.0.1","v10.0.0","v9.0.2","v9.0.1","v9.0.0","v8.1.2","v8.1.1","v8.1.0","v8.0.9","v8.0.8","v8.0.7","v8.0.6","v8.0.5","v8.0.4","v8.0.3","v8.0.2","v8.0.1","v8.0.0","v7.1.6","v7.1.5","v7.1.4","v7.1.3","v7.1.1","v7.0.2","v7.0.1","v7.0.0","v6.1.0","v6.0.0","v5.3.1","v5.3.0","v5.2.2","v5.2.1","v5.2.0","v5.1.4","v5.1.3","v5.1.2","v5.1.1","v5.1.0","v5.0.9","v5.0.8","v5.0.7","v5.0.6","v5.0.5","v5.0.4","v5.0.3","v5.0.2","v5.0.1","v5.0.0","v4.1.0","v4.0.0","v4.0.0-beta.2","v4.0.0-alpha.1","v3.8.2","v3.8.1","v3.8.0","3.8.0-alpha.1","v3.7.0","v3.6.3","v3.6.2","v3.6.1","v3.6.0","v3.5.1","v3.5.0","v3.4.4","v3.4.3","v3.4.2","v3.4.1","v3.4.0","v3.3.2","v3.3.1","v3.3.0","v3.2.1","v3.2.0","v3.1.0","v3.0.0","3.0.0-alpha.3","3.0.0-alpha.2","3.0.0-alpha.1","v2.3.0","v2.2.0","v2.1.0","2.1.0-beta.1","v2.0.0","2.0.0-alpha.2","2.0.0-alpha.1","v1.8.0","1.8.0-beta.2","1.8.0-beta.1","v1.7.2","v1.7.1","v1.7.0","v1.6.1","v1.6.0","v1.5.0","v1.4.0","v1.3.0","v1.2.0","1.1.0","v1.1.0","1.0.0","0.21.0","0.20.0","0.19.1","0.19.0","0.18.2","0.18.1","0.18.0","0.17.0","0.16.0","0.15.7","0.15.6","0.15.5","0.15.4","0.15.3","0.15.2","0.15.1","0.15.0","0.14.9","0.14.8","0.14.7","0.14.6","0.14.5","0.14.4","0.14.3","0.14.2","0.14.1","0.14.0","0.13.0","0.12.4","0.12.3","0.12.2","0.12.1","0.12.0","0.11.0","0.10.0","0.9.10","0.9.9","0.9.8","0.9.7","0.9.6","0.9.5","0.9.4","0.9.3","0.9.2","0.9.1","0.9.0","0.8.2","0.8.1","0.8.0","0.7.0","0.6.0","0.5.1","0.5.0","0.4.3","0.4.2","0.4.1","0.4.0","0.1.2","0.1.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142211.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}