esbuild is vulnerable to Path Traversal
25
CVE Score
Low
Path Traversal
esbuild's local development server uses path.Clean() on HTTP request paths, which only normalizes forward slashes. On Windows, requests containing backslash separators can escape the configured servedir and read files outside the intended directory. Before 0.28.1, a crafted URL could reach arbitrary filesystem paths when the dev server runs on Windows. The fix rejects any request path containing a backslash character.
Upgrade the esbuild library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and running esbuild's local development server on Windows with a configured serve directory.
0.17.0 - 0.28.0
Fixed in 0.28.1esbuild is vulnerable to Path Traversal in versions 0.17.0 - 0.28.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.