{"answers":{"affected":"2 open source packages ship an affected version, including astro.","exploited":"There is no known exploitation of CVE-2026-84376 in the wild and no public exploit code.","fix":"Upgrade astro to 7.2.4 or later.","what":"CVE-2026-84376 is a medium-severity authentication bypass vulnerability in withastro astro, published on 2 Sep 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-84376 and fix it if it is affected.\n\nWhat it is: CVE-2026-84376 is a medium-severity authentication bypass vulnerability in withastro astro, published on 2 Sep 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-84376 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- astro (npm): affected all versions; fixed in 7.2.4\n- astro (npm): affected all versions; fixed in 7.2.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-84376/ (Markdown: https://insights.sbomify.com/CVE-2026-84376/index.md)","id":"CVE-2026-84376","markdown":"https://insights.sbomify.com/CVE-2026-84376/index.md","name":"CVE-2026-84376","record":{"aliases":["CLSA-2026-1790175733","CLSA-2026-1790176521","CLSA-2026-1790185871","CLSA-2026-1790457826","CLSA-2026-1790459384","CLSA-2026-1792160952","CLSA-2026-1792161569","CLSA-2026-1792161570","CLSA-2026-1792161571","CLSA-2026-1792161572","CLSA-2026-1792161713","CLSA-2026-1792161714","CLSA-2026-1792161715","CLSA-2026-1792161716","CLSA-2026-1792161717","CLSA-2026-1792161800","CLSA-2026-1792161801","CLSA-2026-1792161802","CLSA-2026-1792161803","CLSA-2026-1792161865","CLSA-2026-1792161866","CLSA-2026-1792161867","GHSA-376h-93r7-7g6f"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Astro web framework","requires_auth":"none","summary":"Attackers can bypass middleware authorization in Astro apps using a non-root base path by exploiting a missing path-segment boundary check.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-187","name":"Partial String Comparison"}],"description":"Astro is a web framework for content-driven websites. Prior to 7.2.4, Astro stripped a configured non-root base path from request pathnames using a string-prefix check without verifying a path-segment boundary. With base \"/app\", a request to \"/appX/admin\" resolved internally to the protected \"/admin\" route while middleware observed \"/appX/admin\" in context.url.pathname. In applications that authorize base-prefixed routes by inspecting context.url.pathname, an unauthenticated remote attacker could bypass pathname-based middleware authorization and reach protected routes. This issue is fixed in version 7.2.4.","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":"Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base","id":"CVE-2026-84376","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters","id":"CVE-2026-84377"},"packages":[{"ecosystem":"npm","fixed":["7.2.4"],"introduced":["0"],"last_affected":[],"package":"astro","purl":null,"source":"GHSA-376h-93r7-7g6f"},{"ecosystem":"npm","fixed":["7.2.4"],"introduced":["0"],"last_affected":[],"package":"astro","purl":"pkg:npm/astro","source":"GHSA-376h-93r7-7g6f"}],"prev":{"headline":"js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources","id":"CVE-2026-84375"},"products":["astro"],"published":"2026-09-02","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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-04","vendors":["withastro"]},"summary":"Attackers can bypass middleware authorization in Astro apps using a non-root base path by exploiting a missing path-segment boundary check.","url":"https://insights.sbomify.com/CVE-2026-84376/"}