Skip to content

fix(security): patch CVE-2026-111497 runtime and vulnerable dependencies - #75

Merged
Bas950 merged 3 commits into
mainfrom
security/cve-2026-111497-and-deps
Oct 26, 2026
Merged

Bas950 merged 3 commits into
mainfrom
security/cve-2026-111497-and-deps

Conversation

@Bas950

@Bas950 Bas950 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Security fixes

Runtime (CVE-2026-111497, Brotli decoder out-of-bounds write, a.k.a. Node2Shell/HTTP2Shell)

  • CI test.yaml / publish.yaml used Node 16 (EOL, unpatched). Bumped to Node 24.22.1, which contains the fix.
  • CI pnpm bumped 6.0.2 -> 8.15.9: pnpm 6 crashes on modern Node (ERR_INVALID_THIS), and the lockfile was regenerated with pnpm 8 (lockfile format 5.4 -> 6.0).

Dependencies (pnpm.overrides, same-major patched versions, lockfile regenerated by pnpm, not hand-edited)

  • ws 8.8.1 -> 8.22.0 (GHSA high, e.g. DoS)
  • undici 5.8.2 -> 5.29.0 (fixes in 5.19.1+; 7.x/8.x fixes not applicable to the 5.x line used by discord.js)

Not fixed

  • Some newer undici advisories only list fixes in 7.24.0 / 8.5.0, which are major bumps outside discord.js's declared range.

Verification

  • pnpm install and tsc --noEmit pass on Node 24.22.1. The repo has no build/test/lint scripts.

Bump pinned Node/CI runtimes and override vulnerable npm dependencies to patched versions.
@Bas950
Bas950 requested a review from Timeraa as a code owner October 26, 2026 10:29
@Bas950
Bas950 merged commit c6c569f into main Oct 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant