Intel

AIKIDO-2026-559914

undici is vulnerable to Subresource Integrity (SRI) Bypass

CVE-2026-109841Published Oct 19, 2026
October 19, 2026

59

CVE Score

Medium

Subresource Integrity (SRI) Bypass

Are you affected? Scan for Free

TL;DR

fetch() verifies Subresource Integrity (SRI) metadata by looking up the algorithm token in a lowercase-only set, while the SRI specification treats tokens case-insensitively. A valid uppercase or mixed-case token such as SHA256-... is treated as unknown and skipped, so the integrity list is considered empty and the response is accepted. A server that returns a body different from the pinned digest therefore passes the check. The fix normalizes the algorithm token to ASCII lowercase before validation and digest selection.

How do I fix this?

Upgrade the undici library to the patch version. As a workaround, use lowercase algorithm tokens (sha256, sha384, sha512) in the integrity metadata.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use fetch() with integrity metadata containing non-lowercase algorithm tokens (e.g. SHA256-... or Sha256-...).

Package

Versions

7.15.0 - 7.30.0

Fixed in 7.30.1

8.0.0 - 8.12.1

Fixed in 8.12.2

Background info

undici is vulnerable to Subresource Integrity (SRI) Bypass in versions 7.15.0 - 7.30.0 and 8.0.0 - 8.12.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea