Skip to content

plugin-cloudflare-0.31.0.tgz: 18 vulnerabilities (highest severity is: 9.9) #205

Description

@mend-bolt-for-github
Vulnerable Library - plugin-cloudflare-0.31.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (plugin-cloudflare version) Remediation Possible**
CVE-2026-0933 Critical 9.9 wrangler-4.33.0.tgz Transitive 0.32.0
CVE-2026-48779 High 7.5 ws-8.18.0.tgz Transitive N/A*
CVE-2026-2229 High 7.5 undici-7.16.0.tgz Transitive N/A*
CVE-2026-1526 High 7.5 undici-7.16.0.tgz Transitive N/A*
CVE-2026-12151 High 7.5 undici-7.16.0.tgz Transitive 0.32.0
CVE-2026-13697 High 7.4 undici-7.16.0.tgz Transitive N/A*
CVE-2026-1525 Medium 6.5 undici-7.16.0.tgz Transitive N/A*
CVE-2026-9679 Medium 5.9 undici-7.16.0.tgz Transitive 0.32.0
CVE-2026-9678 Medium 5.9 undici-7.16.0.tgz Transitive 0.32.0
CVE-2026-22036 Medium 5.9 undici-7.16.0.tgz Transitive 0.32.0
CVE-2026-14643 Medium 5.9 undici-7.16.0.tgz Transitive N/A*
CVE-2026-16729 Medium 4.8 undici-7.16.0.tgz Transitive N/A*
CVE-2026-16728 Medium 4.8 undici-7.16.0.tgz Transitive N/A*
CVE-2026-1527 Medium 4.6 undici-7.16.0.tgz Transitive N/A*
CVE-2026-45736 Medium 4.4 ws-8.18.0.tgz Transitive 0.32.0
CVE-2026-15157 Medium 4.2 undici-7.16.0.tgz Transitive N/A*
CVE-2026-6733 Low 3.7 undici-7.16.0.tgz Transitive N/A*
CVE-2026-11525 Low 3.7 undici-7.16.0.tgz Transitive 0.32.0

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2026-0933

Vulnerable Library - wrangler-4.33.0.tgz

Command-line interface for all things Cloudflare Workers

Library home page: https://registry.npmjs.org/wrangler/-/wrangler-4.33.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • wrangler-4.33.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

SummaryA command injection vulnerability (CWE-78) has been found to exist in the "wrangler pages deploy" command. The issue occurs because the "--commit-hash" parameter is passed directly to a shell command without proper validation or sanitization, allowing an attacker with control of "--commit-hash" to execute arbitrary commands on the system running Wrangler.
Root causeThe commitHash variable, derived from user input via the --commit-hash CLI argument, is interpolated directly into a shell command using template literals (e.g.,  execSync("git show -s --format=%B ${commitHash}")). Shell metacharacters are interpreted by the shell, enabling command execution.
ImpactThis vulnerability is generally hard to exploit, as it requires --commit-hash to be attacker controlled. The vulnerability primarily affects CI/CD environments where "wrangler pages deploy" is used in automated pipelines and the
--commit-hash parameter is populated from external, potentially untrusted sources. An attacker could exploit this to:

  • Run any shell command.
  • Exfiltrate environment variables.
  • Compromise the CI runner to install backdoors or modify build artifacts.
    Credits Disclosed responsibly by kny4hacker.
    Mitigation
  • Wrangler v4 users are requested to upgrade to Wrangler v4.59.1 or higher.
  • Wrangler v3 users are requested to upgrade to Wrangler v3.114.17 or higher.
  • Users on Wrangler v2 (EOL) should upgrade to a supported major version.

Publish Date: 2026-01-20

URL: CVE-2026-0933

CVSS 3 Score Details (9.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-01-20

Fix Resolution (wrangler): 4.59.1

Direct dependency fix Resolution (@⁠storm-stack/plugin-cloudflare): 0.32.0

Step up your Open Source Security Game with Mend here

CVE-2026-48779

Vulnerable Library - ws-8.18.0.tgz

Library home page: https://registry.npmjs.org/ws/-/ws-8.18.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • ws-8.18.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

ws is an open source WebSocket client and server for Node.js. All versions from 1.1.0 up to (but not including) 5.2.5, from 6.0.0 up to 6.2.4, from 7.0.0 up to 7.5.11, and from 8.0.0 up to 8.21.0 are affected by a memory exhaustion DoS vulnerability. A peer can send a high volume of exceptionally small fragments and data chunks, with modest network traffic, to force the remote peer into allocating and holding structural wrappers that consume far more memory than the default documented message-size limit, leading to process termination due to OOM. This issue has been fixed in versions 5.2.5, 6.2.4, 7.5.11, and 8.21.0.

Publish Date: 2026-06-16

URL: CVE-2026-48779

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-06-16

Fix Resolution: https://github.com/websockets/ws.git - 7.5.11,https://github.com/websockets/ws.git - 8.21.0,https://github.com/websockets/ws.git - 6.2.4,https://github.com/websockets/ws.git - 5.2.5

Step up your Open Source Security Game with Mend here

CVE-2026-2229

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

ImpactThe undici WebSocket client is vulnerable to a denial-of-service attack due to improper validation of the server_max_window_bits parameter in the permessage-deflate extension. When a WebSocket client connects to a server, it automatically advertises support for permessage-deflate compression. A malicious server can respond with an out-of-range server_max_window_bits value (outside zlib's valid range of 8-15). When the server subsequently sends a compressed frame, the client attempts to create a zlib InflateRaw instance with the invalid windowBits value, causing a synchronous RangeError exception that is not caught, resulting in immediate process termination.
The vulnerability exists because:

  • The isValidClientWindowBits() function only validates that the value contains ASCII digits, not that it falls within the valid range 8-15
  • The createInflateRaw() call is not wrapped in a try-catch block
  • The resulting exception propagates up through the call stack and crashes the Node.js process

Publish Date: 2026-03-12

URL: CVE-2026-2229

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-v9p9-hfj2-hcw8

Release Date: 2026-03-12

Fix Resolution: undici - 7.24.0,undici - 6.24.0

Step up your Open Source Security Game with Mend here

CVE-2026-1526

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

The undici WebSocket client is vulnerable to a denial-of-service attack via unbounded memory consumption during permessage-deflate decompression. When a WebSocket connection negotiates the permessage-deflate extension, the client decompresses incoming compressed frames without enforcing any limit on the decompressed data size. A malicious WebSocket server can send a small compressed frame (a "decompression bomb") that expands to an extremely large size in memory, causing the Node.js process to exhaust available memory and crash or become unresponsive.
The vulnerability exists in the PerMessageDeflate.decompress() method, which accumulates all decompressed chunks in memory and concatenates them into a single Buffer without checking whether the total size exceeds a safe threshold.

Publish Date: 2026-03-12

URL: CVE-2026-1526

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-vrm6-8vpv-qv8q

Release Date: 2026-03-12

Fix Resolution: undici - 7.24.0,undici - 6.24.0

Step up your Open Source Security Game with Mend here

CVE-2026-12151

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Impact:
The undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a message but does not enforce a limit on the number of fragments. A malicious WebSocket server can stream many small or empty continuation frames that each pass per-frame and cumulative-size validation, collectively causing unbounded memory growth in the client process. The result is memory exhaustion and a denial of service.
Affected applications are those using the undici WebSocket client (new WebSocket(...)) or the WebSocketStream API that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint.
All releases starting at undici 6.17.0 are affected.
Patches: Upgrade to undici >= 6.26.0, >= 7.28.0, or >= 8.5.0. Workarounds:
No workaround is available. The fix must be applied through an upgrade.

Publish Date: 2026-06-17

URL: CVE-2026-12151

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-vxpw-j846-p89q

Release Date: 2026-06-17

Fix Resolution (undici): 7.28.0

Direct dependency fix Resolution (@⁠storm-stack/plugin-cloudflare): 0.32.0

Step up your Open Source Security Game with Mend here

CVE-2026-13697

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

undici's cache interceptor mishandles malformed Cache-Control private directives. In undici 7.0.0 up to before 7.29.0 and 8.0.0 up to before 8.9.0, a response carrying a degenerate qualified private directive, such as private set to an empty value, can be stored in the default shared cache and later served to a different caller with the same cache key, disclosing private response bodies and headers including Set-Cookie. Separately, a Cache-Control header that combines an unqualified private directive with a qualified one triggers an uncaught TypeError in the cache-control parser, which rejects the request and, depending on the consumer's error handling, can terminate the process. Both issues affect applications using the cache interceptor in shared mode, including the default configuration. The issues are fixed in undici 7.29.0 and 8.9.0.

Publish Date: 2026-07-29

URL: CVE-2026-13697

CVSS 3 Score Details (7.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-4cwx-7wf7-3272

Release Date: 2026-07-29

Fix Resolution: undici - 7.29.0,undici - 8.9.0,https://github.com/nodejs/undici.git - v8.9.0,https://github.com/nodejs/undici.git - v7.29.0

Step up your Open Source Security Game with Mend here

CVE-2026-1525

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Undici allows duplicate HTTP Content-Length headers when they are provided in an array with case-variant names (e.g., Content-Length and content-length). This produces malformed HTTP/1.1 requests with multiple conflicting Content-Length values on the wire.
Who is impacted:

  • Applications using undici.request(), undici.Client, or similar low-level APIs with headers passed as flat arrays
  • Applications that accept user-controlled header names without case-normalization
    Potential consequences:
  • Denial of Service: Strict HTTP parsers (proxies, servers) will reject requests with duplicate Content-Length headers (400 Bad Request)
  • HTTP Request Smuggling: In deployments where an intermediary and backend interpret duplicate headers inconsistently (e.g., one uses the first value, the other uses the last), this can enable request smuggling attacks leading to ACL bypass, cache poisoning, or credential hijacking

Publish Date: 2026-03-12

URL: CVE-2026-1525

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-2mjp-6q6p-2qxm

Release Date: 2026-03-12

Fix Resolution: undici - 6.24.0,undici - 7.24.0

Step up your Open Source Security Game with Mend here

CVE-2026-9679

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Impact:
undici's cookie parser in parseSetCookie percent-decodes cookie values via qsUnescape, turning encoded sequences like %0D%0A, %00, %3B, and %3D into their literal byte equivalents. RFC 6265 §5.4 does not specify any decoding and browsers do not decode either.
Applications that parse a Set-Cookie header and then forward the parsed value into a response header (proxies, middleware, SSR frameworks) become vulnerable to HTTP response header injection: an attacker-controlled upstream can inject arbitrary Set-Cookie, Location, or Cache-Control headers into the application's downstream response, enabling session fixation, open redirect, or cache poisoning.
Affected applications are those that use undici's cookie parsing (parseSetCookie, parseCookie, getSetCookies) and forward the parsed cookie value into a response header.
This was introduced in undici 7.0.0 via PR #⁠3789.
Patches:
Upgrade to undici v6.26.0, v7.28.0 or v8.5.0.
Workarounds:
If upgrade is not immediately possible, do not forward values returned by parseSetCookie/parseCookie/getSetCookies directly into response headers; sanitize the value first to strip or reject CR, LF, NUL, ;, and = bytes.

Publish Date: 2026-06-17

URL: CVE-2026-9679

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-p88m-4jfj-68fv

Release Date: 2026-06-17

Fix Resolution (undici): 7.28.0

Direct dependency fix Resolution (@⁠storm-stack/plugin-cloudflare): 0.32.0

Step up your Open Source Security Game with Mend here

CVE-2026-9678

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Impact:
Undici's cache interceptor incorrectly classifies some responses as cacheable when the upstream Cache-Control header uses whitespace-padded qualified private or no-cache field names such as private=" authorization" or no-cache="\tauthorization". The parser preserves the surrounding whitespace, so later comparisons against the literal authorization field name fail and the response is stored.
In shared-cache mode, this allows a response containing one user's authenticated data to be served from cache to a subsequent caller, including an unauthenticated caller, when both requests resolve to the same cache key.
Affected applications are those that explicitly enable the cache interceptor (interceptors.cache()) in shared mode, forward Authorization headers upstream, and receive cacheable responses with non-canonical qualified private or no-cache directives.
Patches:
Upgrade to undici v7.28.0 or v8.5.0.
Workarounds:
If upgrade is not immediately possible, disable shared-cache mode for traffic that includes Authorization headers, avoid caching responses to authenticated requests, or add Vary: Authorization upstream.

Publish Date: 2026-06-17

URL: CVE-2026-9678

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-pr7r-676h-xcf6

Release Date: 2026-06-17

Fix Resolution (undici): 7.28.0

Direct dependency fix Resolution (@⁠storm-stack/plugin-cloudflare): 0.32.0

Step up your Open Source Security Game with Mend here

CVE-2026-22036

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Undici is an HTTP/1.1 client for Node.js. Prior to 7.18.0 and 6.23.0, the number of links in the decompression chain is unbounded and the default maxHeaderSize allows a malicious server to insert thousands compression steps leading to high CPU usage and excessive memory allocation. This vulnerability is fixed in 7.18.0 and 6.23.0.

Publish Date: 2026-01-14

URL: CVE-2026-22036

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://osv.dev/vulnerability/GHSA-g9mf-h72j-4rw9

Release Date: 2026-01-14

Fix Resolution (undici): 7.18.2

Direct dependency fix Resolution (@⁠storm-stack/plugin-cloudflare): 0.32.0

Step up your Open Source Security Game with Mend here

CVE-2026-14643

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

undici's cache interceptor mishandles optional whitespace placed around the equals sign of a qualified no-cache or private Cache-Control directive. In undici from 7.0.0 up to before 7.29.0 and from 8.0.0 up to before 8.9.0, the parser either drops the directive or stores a field name with literal quote characters, so the cache decision fails to recognize the qualification and the response is stored. In shared-cache mode, this lets a response containing one user's authenticated data be served from cache to a later caller, including an unauthenticated one, when both requests resolve to the same cache key. It affects applications that enable the cache interceptor in shared mode, forward Authorization headers upstream, and receive cacheable responses with qualified directives padded with whitespace around the equals sign. This is the whitespace-around-equals variant that the fix for CVE-2026-9678 did not normalize, and it is fixed in undici 7.29.0 and 8.9.0.

Publish Date: 2026-07-29

URL: CVE-2026-14643

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-jr45-8vmc-qm54

Release Date: 2026-07-29

Fix Resolution: undici - 8.9.0,undici - 7.29.0,https://github.com/nodejs/undici.git - v8.9.0,https://github.com/nodejs/undici.git - v7.29.0

Step up your Open Source Security Game with Mend here

CVE-2026-16729

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

undici's setCookie function does not fully sanitize cookie attributes. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, a domain value is not checked for semicolons and entries in the unparsed array are not sanitized, so attacker-influenced input can inject additional cookie attributes. For example, a domain value containing a semicolon can append attributes such as SameSite, and an unparsed entry can inject attributes such as HttpOnly, without the caller setting them. Applications that pass user-controlled input to these fields, such as multi-tenant or reverse-proxy servers that scope session cookies to a tenant-supplied domain, can have SameSite CSRF protections bypassed, or the Secure, HttpOnly, and SameSite attributes forced, stripped, or overridden. The issue is fixed in undici 6.28.0, 7.29.0, and 8.9.0.

Publish Date: 2026-07-29

URL: CVE-2026-16729

CVSS 3 Score Details (4.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-v3r7-h72x-cjcm

Release Date: 2026-07-29

Fix Resolution: undici - 6.28.0,undici - 7.29.0,undici - 8.9.0,https://github.com/nodejs/undici.git - v6.28.0,https://github.com/nodejs/undici.git - v7.29.0,https://github.com/nodejs/undici.git - v8.9.0

Step up your Open Source Security Game with Mend here

CVE-2026-16728

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

undici's retry interceptor can deliver a response whose body length does not match the Content-Length header exposed to the application after a retry or resume of a partial response. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, a malicious or faulty upstream can return a partial response with a mismatched framing header, close the socket early, and have the retry interceptor assemble a body of a different length while the original Content-Length stays attached. Applications that use the retry interceptor and forward upstream headers and bodies downstream, such as proxies or gateways, may then emit an invalid HTTP response with a stale Content-Length, leading to downstream response desynchronization, connection hangs, or response corruption. Exploitation requires the retry interceptor enabled, an upstream returning a mismatched partial response, and a downstream forwarder that does not remove or recalculate Content-Length. The issue is fixed in undici 6.28.0, 7.29.0, and 8.9.0.

Publish Date: 2026-07-29

URL: CVE-2026-16728

CVSS 3 Score Details (4.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-8xcm-r25x-g524

Release Date: 2026-07-29

Fix Resolution: undici - 7.29.0,undici - 6.28.0,undici - 8.9.0

Step up your Open Source Security Game with Mend here

CVE-2026-1527

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

ImpactWhen an application passes user-controlled input to the upgrade option of client.request(), an attacker can inject CRLF sequences (\r\n) to:

  • Inject arbitrary HTTP headers
  • Terminate the HTTP request prematurely and smuggle raw data to non-HTTP services (Redis, Memcached, Elasticsearch)
    The vulnerability exists because undici writes the upgrade value directly to the socket without validating for invalid header characters:
    // lib/dispatcher/client-h1.js:1121
    if (upgrade) {
    header += "connection: upgrade\r\nupgrade: ${upgrade}\r\n"
    }

Publish Date: 2026-03-12

URL: CVE-2026-1527

CVSS 3 Score Details (4.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-4992-7rv2-5pvq

Release Date: 2026-03-12

Fix Resolution: undici - 6.24.0,undici - 7.24.0

Step up your Open Source Security Game with Mend here

CVE-2026-45736

Vulnerable Library - ws-8.18.0.tgz

Library home page: https://registry.npmjs.org/ws/-/ws-8.18.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • ws-8.18.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

ws is an open source WebSocket client and server for Node.js. Prior to 8.20.1, the websocket.close() implementation is vulnerable to uninitialized memory disclosure when a TypedArray is passed as the reason argument. This vulnerability is fixed in 8.20.1.

Publish Date: 2026-05-15

URL: CVE-2026-45736

CVSS 3 Score Details (4.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: High
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-58qx-3vcg-4xpx

Release Date: 2026-05-15

Fix Resolution (ws): 8.20.1

Direct dependency fix Resolution (@⁠storm-stack/plugin-cloudflare): 0.32.0

Step up your Open Source Security Game with Mend here

CVE-2026-15157

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

undici does not validate the type property of a duck-typed blob-like request body before using it as the Content-Type header on the HTTP/1.1 dispatcher. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, an application that passes a hand-rolled blob-like body (via request, stream, pipeline, or dispatch) whose type is derived from untrusted input allows an attacker to inject CRLF sequences and append arbitrary HTTP headers, potentially smuggling a second request past the upstream. Native Blob objects are safe because their constructor strips CRLF from the type, and fetch is unaffected because it validates headers, but ecosystem libraries that build duck-typed blob shapes from user input can reach the vulnerable path. This is the same defect class as CVE-2022-35948 and CVE-2026-1527, on a header sink that the earlier fixes did not cover. The issue is fixed in undici 6.28.0, 7.29.0, and 8.9.0.

Publish Date: 2026-07-29

URL: CVE-2026-15157

CVSS 3 Score Details (4.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-m8rv-5g2x-5cg5

Release Date: 2026-07-29

Fix Resolution: undici - 7.29.0,undici - 8.9.0,undici - 6.28.0,https://github.com/nodejs/undici.git - v7.29.0,https://github.com/nodejs/undici.git - v6.28.0,https://github.com/nodejs/undici.git - v8.9.0

Step up your Open Source Security Game with Mend here

CVE-2026-6733

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Impact:
Undici's HTTP/1.1 client is vulnerable to response queue poisoning on reused keep-alive sockets. An attacker-controlled upstream server can inject an unsolicited HTTP/1.1 response onto an idle socket after a request completes. When the client dispatches the next request on that socket, it associates the injected response with the new request, causing responses to be delivered to the wrong requests.
This requires an attacker-controlled or compromised upstream HTTP/1.1 server and keep-alive connection reuse.
Patches:
Upgrade to undici v6.26.0, v7.28.0 or v8.5.0.
Workarounds:
Disable keep-alive connection reuse by setting keepAliveTimeout: 0 on the Client or Pool.

Publish Date: 2026-06-17

URL: CVE-2026-6733

CVSS 3 Score Details (3.7)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-35p6-xmwp-9g52

Release Date: 2026-06-17

Fix Resolution: undici - 7.28.0,undici - 8.5.0,undici - 6.27.0

Step up your Open Source Security Game with Mend here

CVE-2026-11525

Vulnerable Library - undici-7.16.0.tgz

An HTTP/1.1 client, written from scratch for Node.js

Library home page: https://registry.npmjs.org/undici/-/undici-7.16.0.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • plugin-cloudflare-0.31.0.tgz (Root Library)
    • vite-plugin-1.12.3.tgz
      • miniflare-4.20250902.0.tgz
        • undici-7.16.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Impact:
When undici parses a Set-Cookie header, it accepts any SameSite attribute value that contains Strict, Lax, or None as a substring, rather than the case-insensitive exact match specified by RFC 6265. Non-spec values are silently mapped to one of the three standard tokens. For example, SameSite=NoneOfYourBusiness is parsed as None (the most permissive setting), and SameSite=StrictLax is parsed as Lax (a downgrade from Strict).
Affected applications are those that consume Set-Cookie headers from server responses (for example via undici's fetch or proxy code paths) and then forward or rely on the parsed sameSite attribute. A malicious or non-compliant server can coerce the consumer's view of a cookie's SameSite policy to a weaker value, silently degrading the SameSite enforcement the cookie is supposed to provide.
This was introduced in undici 5.15.0 when the cookies feature was added.
Patches:
Upgrade to undici v6.26.0, v7.28.0 or v8.5.0.
Workarounds:
After parsing a Set-Cookie header, validate that the resulting sameSite attribute is one of 'Strict', 'Lax', or 'None' (exact, case-insensitive) before forwarding or relying on it.

Publish Date: 2026-06-17

URL: CVE-2026-11525

CVSS 3 Score Details (3.7)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-g8m3-5g58-fq7m

Release Date: 2026-06-17

Fix Resolution (undici): 7.28.0

Direct dependency fix Resolution (@⁠storm-stack/plugin-cloudflare): 0.32.0

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions