Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl or compromise a redirect hop
-
DeliveryApp sends request with sensitive headers
-
ExploitServer returns 305/redirect to attacker origin
-
Executionsuperagent re-sends headers cross-origin
-
ImpactCapture tokens, cookies or proxy credentials
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V14 - Data Protection Data removal before release
|
| Exploitation Conditions | Exploitation requires that an application built on superagent ≤10.4.2 issues a request carrying sensitive headers (Authorization, Cookie, or Proxy-Authorization) and then follows an HTTP redirect handled by Request.prototype._redirect that points to a different origin. The attacker must control, compromise, or otherwise influence a server in that redirect chain so it can return a 305 or other redirect to a host they own. Limiting factors: the vulnerable request must actually attach credential headers; a redirect to an attacker-reachable origin must occur (reflected in AC:H and the AT:P attack requirement, meaning the redirect-chain precondition is not attacker-controlled by default); and the leak is confidentiality-only. It does not require authentication (PR:N) or user interaction (UI:N) against the vulnerable client logic itself. |
| Impact | This is a credible, moderately high priority (CVSS 4.0 base 8.2) credential-disclosure flaw in a widely used Node.js HTTP client, but the raw score overstates how trivially it is exploited. The CVSS vector (AV:N/PR:N/UI:N) confirms a remote, unauthenticated attack path with no victim interaction, yet AC:H and AT:P signal real preconditions: a redirect chain must be present and an attacker must control, or be able to influence, a server within it. Impact is confidentiality-only (VC:H, VI:N, VA:N) - leaked bearer tokens, basic-auth credentials, session cookies or proxy credentials - with no direct integrity or availability effect. No EPSS score is provided in the input, so exploitation probability cannot be quantified, and the vulnerability is not listed in CISA KEV, so there is no evidence of active exploitation. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a serious-but-not-fire-drill issue. Net: a real priority for teams whose applications send Authorization/Cookie/Proxy-Authorization headers to endpoints that can redirect cross-origin, but conditional enough that it is not blanket mass-exploitable; the AC:H/AT:P requirements temper the otherwise alarming unauthenticated-network profile. |
| Exploit ScenarioDerived | An application uses superagent (≤10.4.2) to call an API with an Authorization bearer token or session cookie attached, and that endpoint - or any hop in its redirect chain - is attacker-controlled or compromised. The malicious server responds with a 305 or other redirect pointing to the attacker's own host, and superagent re-sends the Authorization, Cookie and Proxy-Authorization headers to that different origin, handing the attacker the credentials. No verified working exploit code is identified in the sources, but the trigger is straightforward given control of a redirect target. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Credential leakage in the Superagent Node.js HTTP client through version 10.4.2 causes Authorization, Cookie and Proxy-Authorization headers to be carried over to a different origin when a request is redirected, letting a server in the redirect chain harvest bearer tokens, basic-auth credentials, session cookies or proxy credentials. Applications are exposed if they attach those headers and then follow a redirect handled by Request.prototype._redirect toward a host the attacker controls, compromises or otherwise influences; the assessed vector treats that redirect-chain precondition as a high-complexity, pre-existing attack requirement rather than something trivially arranged by the attacker. Impact is confidentiality-only, no authentication or user interaction is required against the client logic itself, and no public exploit has been identified at time of analysis. VulnCheck reporting and the vuln.today priority label place remediation in the near-term 'this week' window.
RemediationAI
No vendor-released patch is identified in the available data, so the first step is to confirm the current fixed release with the maintainers via the upstream issue forwardemail/superagent#1869 and the VulnCheck advisory (https://www.vulncheck.com/advisories/superagent-through-10.4.2-credential-leak-via-cross-origin-redirect-headers), then upgrade Superagent to a version above 10.4.2 as soon as one is published and re-verify the redirect and header-handling code in src/node/index.js. Where upgrading is blocked, apply compensating controls that target the header-forwarding mechanism directly: disable automatic redirect following for requests that carry credentials (for example by capping redirects at zero and handling redirects manually), which stops the leak but shifts redirect logic and error handling onto the calling application; or strip Authorization, Cookie and Proxy-Authorization from the outgoing headers whenever the computed redirect target's origin differs from the original request's origin, which preserves redirect behaviour but requires correct origin comparison including scheme, host, port and any redirect status handling such as 305. Restrict outbound egress from services using Superagent to known-good hosts, and treat any credential that may have transited an untrusted redirect chain as compromised and rotate it. Because exploitation depends on attacker influence over a hop in the redirect chain, review redirect targets returned by third-party or user-configurable endpoints as an additional containment measure.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is an instance of CWE-212, improper removal of sensitive information before transfer, and lives in the Node.js side of Superagent (src/node/index.js), specifically the redirect handler Request.prototype._redirect (referenced lines 734-776, with related header handling around lines 1825-1827). Superagent is a widely used HTTP client library for Node.js and browsers; the vulnerable code path concerns how a Request object reconstructs and re-issues itself when a response carries a redirect status. Because the client copies the original request's headers onto the follow-up request without scoping credential-bearing headers to the original origin, any hop whose target differs from the original origin receives Authorization, Cookie and Proxy-Authorization values that were intended for the first host. The advisory notes a 305 (Use Proxy) response, alongside other redirect statuses, as a way an attacker-influenced server in the chain can steer the client to a host it controls. The CPE identifier cpe:2.3:a:forwardemail:superagent:*:*:*:*:*:*:*:* matches the upstream forwardemail/superagent package across the affected range up to and including 10.4.2. The assessed vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) reflects high attack complexity and a pre-existing attack precondition, meaning the redirect-chain placement is not attacker-controlled by default; the sources do not describe any additional trigger mechanism, memory-safety condition or timing dependency, and the weakness is purely a header-scoping and credential-disclosure problem with no integrity or availability component.
Know when Superagent gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable and unauthenticated (AV:N/PR:N/UI:N) but conditional on a cross-origin redirect through an attacker-influenced hop (AC:H); credential leak gives C:H with no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
Superagent, a widely used Node.js HTTP client library, contains a credential leakage vulnerability (CVE-2026-142211) that can expose sensitive authentication headers-such as bearer tokens, session cookies, and proxy credentials-to unauthorized third-party servers during redirects. Organizations using affected versions (through 10.4.2) in their applications face potential unauthorized access to internal systems and data, which could lead to data breaches and compliance violations. Leadership should prioritize remediation due to the high severity and the library's prevalence in modern application stacks.
No vendor-released patch identified at time of analysis. Interim mitigations: disable automatic redirects in Superagent or implement a custom redirect policy that removes Authorization, Cookie, and Proxy-Authorization headers when redirecting to a different origin; restrict outbound requests to trusted domains; and monitor for suspicious redirect patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-141619
GHSA-pjvj-9qmv-835w
NVD
CVE.org
Vulnrichment
Exploit-DB