encore.dev is vulnerable to Path Traversal
59
Medium Risk
The local object storage emulator builds on-disk paths by joining untrusted bucket and object names from request paths directly onto its storage directory. Because .. segments, including percent-encoded forms that decode after routing, are not rejected, a request to the local bucket server can escape the storage directory and read, overwrite, or delete arbitrary files with the privileges of the Encore daemon. Exposure is limited to local development and requires knowing the randomly generated namespace id used to route bucket requests. The fix validates both path components with a local-path check and returns an error for any name that escapes the directory.
You are affected if you are using a version that falls within the vulnerable range and you run Encore's local object storage emulator during development with declared buckets.
encore.dev is vulnerable to Path Traversal in versions 0.0.1 - 1.57.12.
Upgrade the encore.dev library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant