Skip to content

Fix security vulnerabilities#378

Merged
mohanadft merged 3 commits intomainfrom
fix/security-vulnerabilities
Mar 4, 2026
Merged

Fix security vulnerabilities#378
mohanadft merged 3 commits intomainfrom
fix/security-vulnerabilities

Conversation

@mohanadft
Copy link
Collaborator

@mohanadft mohanadft commented Mar 4, 2026

Security fixes

High — axios DoS via prototype pollution

  • Bump axios from 1.12.2 to 1.13.5+
  • mergeConfig() accepted a __proto__ key causing prototype pollution → denial of service

High — wrangler OS command injection (CVE-2026-0933)

  • Bump wrangler from 4.42.1 to 4.59.1+
  • --commit-hash was interpolated directly into a shell string via template literal → arbitrary command execution in CI/CD pipelines
  • Fixed upstream by switching from execSync(\git show ... ${commitHash}\) to execFileSync("git", [...args])

High — rollup arbitrary file write via path traversal

  • Add pnpm override to force rollup >= 4.59.0
  • Crafted module IDs containing ../ sequences could write files outside the build output directory

More fixes coming

Additional high/medium/low severity Dependabot alerts will be addressed in follow-up commits.

Bump axios from 1.12.2 to 1.13.5+ to patch prototype pollution
via __proto__ key in mergeConfig() that could cause denial of service.
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 4, 2026

Deploying website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3757648
Status: ✅  Deploy successful!
Preview URL: https://667255ae.website-aun.pages.dev
Branch Preview URL: https://fix-security-vulnerabilities.website-aun.pages.dev

View logs

Bump wrangler from 4.42.1 to 4.59.1+ to patch command injection via
--commit-hash argument being interpolated directly into a shell string.
Add pnpm override to force rollup >= 4.59.0, patching arbitrary file
write via path traversal in module IDs during build.
@mohanadft mohanadft merged commit 458fb68 into main Mar 4, 2026
5 checks passed
@mohanadft mohanadft deleted the fix/security-vulnerabilities branch March 4, 2026 09:25
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