Repository navigation
fix: update node-forge, undici, simple-git and other dependencies with security advisories - #856
Merged
santosh-chamoli merged 3 commits intoDec 1, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
srivardhan123
approved these changes
Nov 26, 2026
sandeep-rana
approved these changes
Nov 26, 2026
7 of 10 tasks
added 2 commits
November 30, 2026 13:23
- node-forge 1.4.0 -> 1.4.4 - undici 6.29.0 -> 6.29.1, and npm 11.20.0 -> 11.21.3 for npm's bundled undici 6.28.0 -> 6.29.1 - override simple-git to ^4.1.0 under yeoman-generator, which pulls @simple-git/argv-parser 3.0.0
…p and basic-ftp - lockfile: joi 17.13.9, body-parser 1.20.9, qs 6.16.2, follow-redirects 1.16.3, http-cache-semantics 4.3.0, source-map-js 1.2.4 - scoped override external-editor > tmp ^0.2.7 (drops tmp 0.0.33) - scoped override get-uri > basic-ftp ^6.2.6
chetan2002
force-pushed
the
chaggarwal-adobe-cli-kodiak-r1-fixes
branch
from
November 30, 2026 07:53
02a6670 to
22c7759
Compare
cross-spawn 7.0.6 allowed command injection on Windows when spawning batch files (GHSA-ghv9-86vm-4v8m, GHSA-w3gc-668g-rf8f). All dependents accept ^7, so this is a lockfile-only update.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates dependencies that have published security advisories.
package.jsongets three scoped overrides; everything else is a lockfile update.node-forgeundici(and the copy bundled innpm)npm11.20.0 → 11.21.3simple-gityeoman-generator > simple-git@simple-git/argv-parsersimple-git4.1.0brace-expansionbundled innpmnpm11.21.3joibody-parserqsfollow-redirectshttp-cache-semanticsnpmsource-map-jstmpexternal-editor > tmpbasic-ftpget-uri > basic-ftpcross-spawnNone of the new versions has an open advisory in the GitHub Advisory Database.
Why the three overrides are needed:
simple-git: every 3.x release is affected.yeoman-generator7, which all 12@adobe/generator-*packages need, depends on 3.x. The firstyeoman-generatorrelease that uses 4.x needs Node 22.18+, which would drop Node 20.tmp:external-editor3.1.0 is unmaintained and pinstmp^0.0.33. It only callstmpNameSync, which 0.2.7 still provides.basic-ftp:get-uripins ^5. The only breaking change in 6.0 is that a separate data-transfer host is refused by default (FTP-bounce protection).get-urionly usesaccess,lastMod,list,downloadToandclose.npm run check-overrides(theprepackgate) reports all three overrides as still needed.Not fixed:
open@8.4.2(CVE-2026-119025). The fix is inopen11, which is ESM-only.aio-cli-plugin-app,-app-devand-infoloadopen^8 withrequire(), so an override would break them. Fixing it needs new releases of those plugins.Behavior changes:
simple-git4 blocks more Git environment variables (for exampleGIT_DIRandVISUAL). If one of them is set,yeoman-generator'sgit.name(),git.email()andgithub.username()helpers throw. No bundled generator calls these helpers.basic-ftp6 refuses a different data-transfer host, as described above.Related Issue
No public issue; the advisories are listed above.
Motivation and Context
Dependency scanning flagged these advisories in the dependency tree shipped with
@adobe/aio-cli. Node 20.17 and later stay supported.How Has This Been Tested?
Tested on Node 20.17.0, 22 and 24. Each result is compared with
master, or with the tree before the commit.master.npm auditcompared withmaster:fast-uri,glob,ip-address,minimatch,uuid).open@8.4.2is still in the lockfile.node-forge,undiciandsimple-git:aio certificate generate,fingerprintandverify, checked against OpenSSL.aio plugins install,updateanduninstall.node-gypheader downloads.master.external-editoredit.get-uriandpac+ftpagainst a local FTP server.axiosredirects (Authorizationis dropped on cross-host redirects).aio-lib-webjoi validation.postcsssource maps.pacoteonline, then from the offline cache.aio app dev: 15 request types (JSON, urlencoded, nested query, charset, malformed, over 1 MB, gzip). Responses are identical before and after.aio app init(3 linters),aio app add ciandaio templates install. 5/5 pass, and all 172 generated files are identical.Screenshots (if appropriate):
N/A
Types of changes
Checklist: