{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-126364 in the wild and no public exploit code.","exposure":"Only installations with a non-default setting turned on are exposed.","fix":"No fix has been published for CVE-2026-126364 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-126364 is a medium-severity path traversal vulnerability in withastro astro, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-126364 and fix it if it is affected.\n\nWhat it is: CVE-2026-126364 is a medium-severity path traversal vulnerability in withastro astro, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-126364 in the wild and no public exploit code.\nExposure: Only installations with a non-default setting turned on are exposed.\n\nAffected product: withastro astro. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-126364/ (Markdown: https://insights.sbomify.com/CVE-2026-126364/index.md)","id":"CVE-2026-126364","markdown":"https://insights.sbomify.com/CVE-2026-126364/index.md","name":"CVE-2026-126364","record":{"aliases":["GHSA-r3h5-4585-7x3w"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"JavaScript web framework","requires_auth":"none","requires_specific_call":false,"summary":"Unauthenticated attackers can read image files from case-variant sibling directories on case-sensitive filesystems behind Astro's image endpoint.","user_interaction":"not_required","vuln_class":"path_traversal","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"}],"description":"Astro is a web framework for content-driven websites. From 5.14.3 until 7.4.7, Astro's /_image endpoint compared the requested local-image path with the build output directory without preserving case on case-sensitive filesystems. A sibling directory whose path differed from the output directory only by letter case could therefore pass the containment check, allowing an unauthenticated requester to read image files accepted by the image service from outside the output directory. Exploitation required on-demand rendering with the @astrojs/node adapter, a case-sensitive filesystem, and a preexisting case-variant sibling directory; ordinary traversal to unrelated paths was already rejected. This issue is fixed in Astro version 7.4.7.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Path traversal in astro","id":"CVE-2026-126364","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Astro: XSS via unescaped code for unsupported languages in @astrojs/prism","id":"CVE-2026-126365"},"nickname":null,"packages":[],"prev":{"headline":"Astro: Reflected XSS via unescaped slot names in @astrojs/solid-js","id":"CVE-2026-126363"},"products":["astro"],"published":"2026-11-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-11-12","vendors":["withastro"]},"summary":"Unauthenticated attackers can read image files from case-variant sibling directories on case-sensitive filesystems behind Astro's image endpoint.","url":"https://insights.sbomify.com/CVE-2026-126364/"}