Forge CLI / tunnel chain pins vulnerable undici and body-parser

We run a Forge app repo with Dependabot enabled. Two high advisories sit in the Forge CLI and tunnel tooling chain. These are developer-machine deps, not shipped app code. They still trip repo audits, so we want a supported fix path.

Version we run: @forge/cli 14.1.0.

Findings:

Package Installed Fixed version Fixed date Severity Issue
undici 7.30.0 7.30.1 2026-10-15 High GHSA-4w7w-5xrc-9h26 cache poisoning, plus TLS renegotiation and TLS bypass
body-parser 1.20.8 1.20.9 2026-10-22 High Compressed-body denial of service

Body-parser arrives through express 4.22.3 under @forge/tunnel. Undici arrives through the @forge/cli chain.

Our mitigation: Scoped npm overrides force undici 7.30.1, and they install clean. An npm override forces body-parser 1.20.9.

Questions for Atlassian:

  1. Is a @forge/cli release planned that moves undici to 7.30.1 or later?
  2. Is a @forge/tunnel release planned that moves express and body-parser to fixed versions?
  3. Do tooling-only flags like these affect Marketplace security review, or does review cover shipped app code only?

Hi @JackNicholson,

Your tree doesn’t match what the CLI ships. I read the npm-shrinkwrap.json inside the published @forge/cli@14.1.0, and it pins undici 7.29.1 and body-parser 1.20.3 / 1.20.5. On npm 11.12.1 root and scoped overrides didn’t move those pins in my test, and a fresh install of 15.0.0 still resolved undici 7.29.1. A CLI upgrade won’t clear the alerts today.

The docs install the CLI globally instead:

npm install -g @forge/cli

That keeps its pinned tree out of the repo lockfile. Dependabot and npm audit then have nothing from the CLI to flag. Moving the pins themselves needs a new CLI release. Only Atlassian knows when that lands.

Is @forge/cli in devDependencies? And which npm version do you run?