{"answers":{"affected":"2 open source packages ship an affected version, including @astrojs/netlify.","exploited":"There is no known exploitation of CVE-2026-73425 in the wild and no public exploit code.","fix":"Upgrade @astrojs/netlify to 8.1.2 or later.","what":"CVE-2026-73425 is a low-severity vulnerability in withastro astro, published on 12 Aug 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-73425 and fix it if it is affected.\n\nWhat it is: CVE-2026-73425 is a low-severity vulnerability in withastro astro, published on 12 Aug 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-73425 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @astrojs/netlify (npm): affected all versions; fixed in 8.1.2\n- @astrojs/netlify (npm): affected all versions; fixed in 8.1.2\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-73425/ (Markdown: https://insights.sbomify.com/CVE-2026-73425/index.md)","id":"CVE-2026-73425","markdown":"https://insights.sbomify.com/CVE-2026-73425/index.md","name":"CVE-2026-73425","record":{"aliases":["GHSA-hp3v-mfqw-h74c"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Astro Netlify adapter","requires_auth":"none","summary":"Attackers can bypass image CDN restrictions by exploiting unescaped regex metacharacters in pathname patterns, allowing unauthorized image optimization.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-185","name":"Incorrect Regular Expression"}],"description":"Astro is a web framework for content-driven websites. Prior to 8.1.2, the Astro Netlify adapter converts each image.remotePatterns entry into a regular expression written to .netlify/v1/config.json under images.remote_images for Netlify's Image CDN allowlist. In packages/integrations/netlify/src/index.ts, remotePatternToRegex() escapes dots in hostname values but interpolates literal pathname values without escaping regular expression metacharacters such as ., +, ?, (, and [, so a restrictive pathname such as /img/v1.0/file also matches metacharacter-adjacent paths, including paths that cross a segment. Netlify enforces the generated regular expression directly and Astro's matchPattern() helper does not revalidate the request, allowing optimization of images on an already-allowed host that the declared pathname was intended to exclude. This issue is fixed in version 8.1.2.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"@astrojs/netlify generates an overly-broad Netlify Image CDN allowlist because remotePatterns.pathname metacharacters are not escaped","id":"CVE-2026-73425","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Trix: Stored XSS vulnerability through serialized attributes","id":"CVE-2026-73426"},"packages":[{"ecosystem":"npm","fixed":["8.1.2"],"introduced":["0"],"last_affected":[],"package":"@astrojs/netlify","purl":null,"source":"GHSA-hp3v-mfqw-h74c"},{"ecosystem":"npm","fixed":["8.1.2"],"introduced":["0"],"last_affected":[],"package":"@astrojs/netlify","purl":"pkg:npm/%40astrojs/netlify","source":"GHSA-hp3v-mfqw-h74c"}],"prev":{"headline":"Astro: Unauthenticated path override in the @astrojs/vercel ISR function","id":"CVE-2026-73424"},"products":["astro"],"published":"2026-08-12","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-13","vendors":["withastro"]},"summary":"Attackers can bypass image CDN restrictions by exploiting unescaped regex metacharacters in pathname patterns, allowing unauthorized image optimization.","url":"https://insights.sbomify.com/CVE-2026-73425/"}