Skip to content

Low severity vulnerability CVE-2026-22036 in undici <6.23.0 for multiple toolkit @actions/* #2242

@MikeMcC399

Description

@MikeMcC399

Situation

npm audit and Dependabot report CVE-2026-22036 (Low severity) in the transient dependency undici (GHSA-g9mf-h72j-4rw9)

This affects @actions/cache@5.0.2 (current latest).

Edit:
The following packages directly specify undici < 6.23.0 and need updating:

Package Version undici version
@actions/attest 2.2.0 ^6.20.0
@actions/github 8.0.0 ^5.28.5
@actions/http-client 3.0.1 ^5.28.5

Other packages which depend on the above packages would then also need updating.

Steps to reproduce

cd $(mktemp -d)
npm install @actions/cache
npm audit

Logs

With all packages installed:

$ npm audit
# npm audit report

undici  <6.23.0
Severity: moderate
Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustion - https://github.com/advisories/GHSA-g9mf-h72j-4rw9
fix available via `npm audit fix --force`
Will install @actions/http-client@2.1.1, which is a breaking change
node_modules/undici
  @actions/github  >=6.0.0
  Depends on vulnerable versions of @actions/http-client
  Depends on vulnerable versions of undici
  node_modules/@actions/artifact/node_modules/@actions/github
  node_modules/@actions/attest/node_modules/@actions/github
  node_modules/@actions/github
    @actions/artifact  >=4.0.0
    Depends on vulnerable versions of @actions/core
    Depends on vulnerable versions of @actions/github
    Depends on vulnerable versions of @actions/http-client
    node_modules/@actions/artifact
    @actions/attest  >=1.1.0
    Depends on vulnerable versions of @actions/core
    Depends on vulnerable versions of @actions/github
    Depends on vulnerable versions of @actions/http-client
    node_modules/@actions/attest
  @actions/http-client  >=2.2.0
  Depends on vulnerable versions of undici
  node_modules/@actions/artifact/node_modules/@actions/github/node_modules/@actions/http-client
  node_modules/@actions/glob/node_modules/@actions/http-client
  node_modules/@actions/http-client
    @actions/cache  >=5.0.0
    Depends on vulnerable versions of @actions/core
    Depends on vulnerable versions of @actions/http-client
    node_modules/@actions/cache
    @actions/core  >=2.0.0
    Depends on vulnerable versions of @actions/http-client
    node_modules/@actions/core
    @actions/tool-cache  >=3.0.0
    Depends on vulnerable versions of @actions/core
    Depends on vulnerable versions of @actions/http-client
    node_modules/@actions/tool-cache

8 moderate severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Related

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions