Pre-auth path traversal in /static/* handler (GHSA-mc8w-wjhw-45x5)

fix: pre-auth path traversal in /static/* handler (GHSA-mc8w-wjhw-45x5) (#8081)
Pre-auth path traversal in /static/* handler (GHSA-mc8w-wjhw-45x5)9c8d16-fix-pre-auth-path-traversal-in-static-handler-cve-2026-114516fixpre auth path traversal static handler

Committed by JohnMcLear

commit message
fix: pre-auth path traversal in /static/* handler (GHSA-mc8w-wjhw-45x5) (#8081)

Guards the backslash→slash conversion in Minify.ts to Windows only, closing an unauthenticated arbitrary file read via ..%5C in /static/*. Adds a backend regression test. Also adds the 3.3.3 CHANGELOG entry. Reported by @gcm-explo1t.

Editor assessment

This commit patches CVE-2026-114516. The body is genuinely good: it explains that the backslash-to-slash conversion is now Windows-only, closing an unauthenticated arbitrary file read through ..%5C in the /static handler, and notes the backend regression test and changelog entry. The subject is the weak half - it carries an advisory id and a PR number alongside the description, which keeps a well-explained fix from scoring higher under CCv1 hygiene rules. Clear mechanism, crowded headline. Moving the advisory and PR into a Refs footer would let the description lead where it belongs.

Browse categories

More fix examples · Back to search