{"answers":{"affected":"2 open source packages ship an affected version, including @astrojs/node. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27829 exists.","fix":"Upgrade @astrojs/node to 9.5.4 or later.","what":"CVE-2026-27829 is a medium-severity server-side request forgery vulnerability in withastro astro, published on 26 Feb 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-27829 and fix it if it is affected.\n\nWhat it is: CVE-2026-27829 is a medium-severity server-side request forgery vulnerability in withastro astro, published on 26 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27829 exists.\n\nAffected packages and fixed versions:\n- @astrojs/node (npm): affected from 9.0.0; fixed in 9.5.4\n- @astrojs/node (npm): affected from 9.0.0; fixed in 9.5.4\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-27829/ (Markdown: https://insights.sbomify.com/CVE-2026-27829/index.md)","id":"CVE-2026-27829","markdown":"https://insights.sbomify.com/CVE-2026-27829/index.md","name":"CVE-2026-27829","record":{"aliases":["GHSA-cj9f-h6r6-4cx2"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Astro web framework","requires_auth":"none","summary":"Attackers can bypass image domain restrictions to force the server to fetch arbitrary URLs, enabling SSRF against internal services.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"\\@astrojs\\/node","vendor":"astro"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Astro is a web framework. In versions 9.0.0 through 9.5.3, a bug in Astro's image pipeline allows bypassing `image.domains` / `image.remotePatterns` restrictions, enabling the server to fetch content from unauthorized remote hosts. Astro provides an `inferSize` option that fetches remote images at render time to determine their dimensions. Remote image fetches are intended to be restricted to domains the site developer has manually authorized (using the `image.domains` or `image.remotePatterns` options). However, when `inferSize` is used, no domain validation is performed — the image is fetched from any host regardless of the configured restrictions. An attacker who can influence the image URL (e.g., via CMS content or user-supplied data) can cause the server to fetch from arbitrary hosts. This allows bypassing `image.domains` / `image.remotePatterns` restrictions to make server-side requests to unauthorized hosts. This includes the risk of server-side request forgery (SSRF) against internal network services and cloud metadata endpoints. Version 9.5.4 fixes the issue.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Astro is vulnerable to SSRF due to missing allowlist enforcement in remote image inferSize","id":"CVE-2026-27829","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"c3p0 vulnerable to Remote Code Execution via unsafe deserialization of userOverridesAsString property","id":"CVE-2026-27830"},"packages":[{"ecosystem":"npm","fixed":["9.5.4"],"introduced":["9.0.0"],"last_affected":[],"package":"@astrojs/node","purl":null,"source":"GHSA-cj9f-h6r6-4cx2"},{"ecosystem":"npm","fixed":["9.5.4"],"introduced":["9.0.0"],"last_affected":[],"package":"@astrojs/node","purl":"pkg:npm/%40astrojs/node","source":"GHSA-cj9f-h6r6-4cx2"}],"prev":{"headline":"EVerest: ISO15118 session_setup use-after-free can crash EVSE process","id":"CVE-2026-27828"},"products":["astro"],"published":"2026-02-26","related":[{"cvss_score":6.9,"headline":"Astro has Full-Read SSRF in error rendering via Host: header injection","id":"CVE-2026-25545","kev_date_added":null,"published":"2026-02-24"},{"cvss_score":5.9,"headline":"Astro: Memory exhaustion DoS due to missing request body size limit in Server Islands","id":"CVE-2026-29772","kev_date_added":null,"published":"2026-03-24"},{"cvss_score":5.9,"headline":"Astro has memory exhaustion DoS due to missing request body size limit in Server Actions","id":"CVE-2026-27729","kev_date_added":null,"published":"2026-02-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["withastro"]},"summary":"Attackers can bypass image domain restrictions to force the server to fetch arbitrary URLs, enabling SSRF against internal services.","url":"https://insights.sbomify.com/CVE-2026-27829/"}