{"id":"CVE-2025-64757","published":"2025-11-19T16:40:36Z","modified":"2025-11-19T21:04:23Z","title":"Astro Development Server is Vulnerable to Arbitrary Local File Read","vendor":"withastro","product":"astro","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0043,"percentile":0.3807,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-23","name":"Relative Path Traversal"}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-x3h8-62x9-952g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/commit/b8ca69b97149becefaf89bf21853de9c905cdbb7","tags":["x_refsource_MISC"]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":7.61},{"name":"CVSS severity","points":2.45}]},"vendorSlug":"withastro","affectedVersions":[{"vendor":"withastro","product":"astro","versions":["< 5.14.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-11-19T21:04:14.914682Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"astro","vulnerableRanges":["<5.14.3"],"patched":["5.14.3"],"from":["GHSA-x3h8-62x9-952g"],"provenance":"source"}],"summary":{"text":"The Astro web framework's development server, prior to version 5.14.3, contains a path traversal flaw in its image optimization endpoint that lets it read arbitrary local files. An attacker with adjacent network access who is able to induce user interaction can read any image file accessible to the Node.js process on the host, and no authentication is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:56Z"},"euvd":{"id":"EUVD-2025-198185","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-withastro-astro-cve-2025-55303","parents":[{"from":"CVE-2025-59837","to":"CVE-2025-64757","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"5.13.10","toFixed":"5.14.3","daysApart":22},{"kind":"same-code","provenance":"machine","files":["packages/integrations/cloudflare/src/entrypoints/image-endpoint.ts"],"commits":["https://github.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252","https://github.com/withastro/astro/commit/1e2499e8ea83ebfa233a18a7499e1ccf169e56f4","https://github.com/withastro/astro/commit/b8ca69b97149becefaf89bf21853de9c905cdbb7"],"basis":"rarely changed file"}]},{"from":"CVE-2025-55303","to":"CVE-2025-64757","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/internal-helpers/src/path.ts"],"commits":["https://github.com/withastro/astro/commit/4d16de7f95db5d1ec1ce88610d2a95e606e83820","https://github.com/withastro/astro/commit/b8ca69b97149becefaf89bf21853de9c905cdbb7"],"basis":"shared function","functions":["removeQueryString"]}]},{"from":"CVE-2025-58179","to":"CVE-2025-64757","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/integrations/cloudflare/src/entrypoints/image-endpoint.ts"],"commits":["https://github.com/withastro/astro/commit/9ecf3598e2b29dd74614328fde3047ea90e67252","https://github.com/withastro/astro/commit/b8ca69b97149becefaf89bf21853de9c905cdbb7"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2025-64757","to":"CVE-2025-65019","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/internal-helpers/src/remote.ts"],"commits":["https://github.com/withastro/astro/commit/b8ca69b97149becefaf89bf21853de9c905cdbb7","https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533"],"basis":"shared function","functions":["isRemoteAllowed"]}]},{"from":"CVE-2025-64757","to":"CVE-2026-25545","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/astro/src/assets/endpoint/generic.ts","packages/astro/src/assets/endpoint/shared.ts"],"commits":["https://github.com/withastro/astro/commit/b8ca69b97149becefaf89bf21853de9c905cdbb7","https://github.com/withastro/astro/commit/e01e98b063e90d274c42130ec2a60cc0966622c9"],"basis":"rarely changed file"}]},{"from":"CVE-2025-64757","to":"CVE-2026-27829","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/astro/src/assets/endpoint/generic.ts","packages/astro/src/assets/endpoint/shared.ts"],"commits":["https://github.com/withastro/astro/commit/b8ca69b97149becefaf89bf21853de9c905cdbb7","https://github.com/withastro/astro/commit/e01e98b063e90d274c42130ec2a60cc0966622c9"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-55303","published":"2025-08-19","fixed":"5.13.2","kev":false},{"cve":"CVE-2025-59837","published":"2025-10-28","fixed":"5.13.10","kev":false},{"cve":"CVE-2025-61925","published":"2025-10-10","fixed":"5.14.3","kev":false},{"cve":"CVE-2025-64757","published":"2025-11-19","fixed":"5.14.3","kev":false},{"cve":"CVE-2025-64525","published":"2025-11-13","fixed":"5.15.5","kev":false,"link":{"from":"CVE-2025-64757","to":"CVE-2025-64525","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:astro","fromFixed":"5.14.3","toFixed":"5.15.5","daysApart":-6}]}},{"cve":"CVE-2025-64745","published":"2025-11-13","fixed":"5.15.6","kev":false},{"cve":"CVE-2025-64764","published":"2025-11-19","fixed":"5.15.8","kev":false}],"package":"npm:astro"}}