CVE-2025-64757 Astro Development Server is Vulnerable to Arbitrary Local File Read
Remote attackers can read arbitrary local image files via the Astro development server's image optimization endpoint.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-64757?
CVE-2025-64757 is a low-severity path traversal vulnerability in withastro astro, published on 19 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Astro is a web framework. Prior to version 5.14.3, a vulnerability has been identified in the Astro framework's development server that allows arbitrary local file read access through the image optimization endpoint. The vulnerability affects Astro development environments and allows remote attackers to read any image file accessible to the Node.js process on the host system. This issue has been patched in version 5.14.3.
Which versions are affected by CVE-2025-64757?
2 open source packages ship an affected version, including astro. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
astro npm | All versions | 5.14.3 |
astro npm | All versions | 5.14.3 |
Products include Astro Astro.
How do I fix CVE-2025-64757?
Upgrade astro to 5.14.3 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-64757 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-64757 exists.
Other vulnerabilities in withastro astro
- CVE-2024-56159 Server source code is exposed to the public if sourcemaps are enabled
- CVE-2026-54299 Astro: Host header SSRF in prerendered error page fetch
- CVE-2025-59837 astro allows bypass of image proxy domain validation leading to SSRF and potential XSS
- CVE-2026-50146 Astro: Reflected XSS via unescaped slot name
- CVE-2025-64764 Astro is vulnerable to Reflected XSS via the server islands feature
Sources
Also known as GHSA-x3h8-62x9-952g.