CVE-2026-120415: 
JavaScript Análise e mitigação de vulnerabilidades

Visão geral

CVE-2026-120415 is a cross-origin credential disclosure vulnerability in the Node.js HTTP client library undici, caused by a bypass of the redirect header-stripping mechanism when request headers are supplied as an array of [name, value] tuples. The flaw allows sensitive headers (e.g., Authorization, Cookie, Proxy-Authorization) to be forwarded to unintended cross-origin redirect destinations. Affected versions are >= 7.0.0, < 7.30.2 and >= 8.0.0, < 8.12.4. It carries a CVSS v3.1 base score of 5.9 (Moderate) (GitHub Advisory).

Detalhes técnicos

The root cause is a representation-dependent parsing bug (CWE-200, CWE-212) in undici's redirect interceptor. When headers are passed as an array of [name, value] tuples (e.g., via Object.entries(headers)), the redirect handler incorrectly interprets them as a flat [name, value, name, value, ...] list, causing header name comparisons to fail and preventing sensitive headers from being stripped on cross-origin redirects. If a header-normalizing interceptor such as cache() or deduplicate() is composed outside redirect(), it serializes the retained sensitive headers onto the outgoing cross-origin request. This is a representation-dependent bypass of the fix introduced for CVE-2024-30260 (GitHub Advisory).

Impacto

Successful exploitation results in the disclosure of origin-bound credentials — such as Authorization tokens or Cookie values — to an unintended third-party server that is the destination of a cross-origin redirect. This is a confidentiality impact with no integrity or availability consequences. Applications that send authenticated requests through undici with array-of-tuples headers and follow cross-origin redirects are at risk of credential theft, which could enable account takeover or unauthorized access to protected resources (GitHub Advisory).

Explorabilidade

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the advisory publication date (November 5, 2026). Exploitation requires a high attack complexity — specifically, the attacker must control or influence the redirect destination and the application must use the vulnerable header format with a specific interceptor composition. The CVE was reserved but details were published via GitHub Security Advisory GHSA-9v6h-8rgp-m69f. No EPSS score or CISA KEV catalog entry is currently available (GitHub Advisory).

Etapas de exploração

  1. Identify a target application: Find an application using undici versions >= 7.0.0, < 7.30.2 or >= 8.0.0, < 8.12.4 that sends credential-bearing HTTP requests with headers supplied as an array of [name, value] tuples (e.g., Object.entries(headers)).
  2. Confirm vulnerable interceptor composition: Verify that the application composes a normalizing interceptor (cache() or deduplicate()) outside the redirect() interceptor, which is the prerequisite for the sensitive headers to be serialized onto the redirected request.
  3. Control or influence the redirect destination: Position a server or manipulate a redirect response (e.g., via a compromised intermediate server or SSRF) so that the application's HTTP request is redirected to an attacker-controlled cross-origin endpoint.
  4. Trigger the cross-origin redirect: Cause the target application to make a request to a URL that issues a cross-origin redirect (HTTP 301/302/307/308) pointing to the attacker's server.
  5. Capture disclosed credentials: Collect the Authorization, Cookie, or Proxy-Authorization headers forwarded to the attacker-controlled server, which were not stripped due to the tuple-parsing bug (GitHub Advisory).

Indicadores de compromisso

  • Network: Outbound HTTP requests from the application server to unexpected third-party origins carrying Authorization or Cookie headers following a redirect chain; HTTP redirect responses (301/302/307/308) pointing to cross-origin destinations in server access logs.
  • Logs: Application or proxy logs showing requests with sensitive headers forwarded to domains not matching the original request target; undici debug logs indicating redirect interception with retained sensitive headers.
  • Application Behavior: Unexpected authentication failures or token invalidation events that may indicate credential reuse by a third party after credential disclosure.

Mitigação e soluções alternativas

Upgrade undici to version 7.30.2 or 8.12.4, which contain the fix for this vulnerability. If an immediate upgrade is not possible, apply one of the following workarounds: (1) supply request headers as a plain object or a flat [name, value, name, value, ...] array instead of an array of [name, value] tuples; or (2) ensure the redirect() interceptor is composed outside any normalizing interceptors (cache() or deduplicate()) rather than inside them (GitHub Advisory).

Reações da comunidade

The advisory was published on November 5, 2026, by undici maintainer mcollina, with remediation review by UlisesGascon. The report was submitted with AI assistance, and the flaw was discovered by researchers ffasterss and shirabe0x05. No broader media coverage or notable community commentary beyond the GitHub advisory has been identified at this time (GitHub Advisory).

Recursos adicionais

Status correto da distribuição Linux

Corrija a disponibilidade entre as principais distribuições Linux e seus lançamentos.

Ubuntu

Desconhecido

devel

node-undici

Desconhecido

noble

node-undici

Desconhecido

noble (esm-apps)

node-undici

Desconhecido

resolute

node-undici

Desconhecido

resolute (esm-apps)

node-undici

Desconhecido

RHEL / CentOS

Afetado

OpenShift

wasmedge.src

Afetado

RHEL 8

Não Afetado

RHEL 9

Não Afetado

RHEL 10

Não Afetado

Origem: Este relatório foi gerado usando IA

Relacionado JavaScript Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploit CISA KEV

Tem correção

Data de publicação

CVE-2026-111770HIGH7.7
  • JavaScript logoJavaScript
  • @modelcontextprotocol/server
NãoSimNov 05, 2026
CVE-2026-111769MEDIUM6.5
  • JavaScript logoJavaScript
  • claude-agent-acp
NãoSimNov 05, 2026
GHSA-mrvp-qgq4-c66gMEDIUM4.2
  • JavaScript logoJavaScript
  • cve-lite-cli
NãoSimNov 06, 2026
GHSA-h7pf-67p2-535fMEDIUMN/A
  • JavaScript logoJavaScript
  • @miltonadina/devops
NãoSimNov 06, 2026
GHSA-2cp5-h2w9-phhfMEDIUMN/A
  • JavaScript logoJavaScript
  • @miltonadina/devops
NãoSimNov 06, 2026

Avaliação Gratuita de Vulnerabilidades

Avalie a sua postura de segurança na nuvem

Avalie suas práticas de segurança em nuvem em 9 domínios de segurança para avaliar seu nível de risco e identificar lacunas em suas defesas.

Avaliação de solicitação

Recursos adicionais da Wiz

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades