Skip to main content

Superagent EUVDEUVD-2026-141619

| CVE-2026-142211 HIGH
Improper Removal of Sensitive Information Before Storage or Transfer (CWE-212)
2026-12-02 VulnCheck GHSA-pjvj-9qmv-835w
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Control or compromise a redirect hop
  2. Delivery
    App sends request with sensitive headers
  3. Exploit
    Server returns 305/redirect to attacker origin
  4. Execution
    superagent re-sends headers cross-origin
  5. Impact
    Capture 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

superagent 0 ≤10.4.2

Affected Packages

euvd superagent no fix

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

Vendor (VulnCheck) PRIMARY 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

Prevalence
High
very popular Node.js HTTP client library, heavy npm usage across backends
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy