{"answers":{"affected":"2 open source packages ship an affected version, including @astrojs/vercel. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33768 exists.","fix":"Upgrade @astrojs/vercel to 10.0.2 or later.","what":"CVE-2026-33768 is a medium-severity missing authorization vulnerability in withastro astro, published on 24 Mar 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-33768 and fix it if it is affected.\n\nWhat it is: CVE-2026-33768 is a medium-severity missing authorization vulnerability in withastro astro, published on 24 Mar 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-33768 exists.\n\nAffected packages and fixed versions:\n- @astrojs/vercel (npm): affected all versions; fixed in 10.0.2\n- @astrojs/vercel (npm): affected all versions; fixed in 10.0.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-33768/ (Markdown: https://insights.sbomify.com/CVE-2026-33768/index.md)","id":"CVE-2026-33768","markdown":"https://insights.sbomify.com/CVE-2026-33768/index.md","name":"CVE-2026-33768","record":{"aliases":["GHSA-mr6q-rp88-fx84"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Astro web framework","requires_auth":"none","summary":"Attackers can bypass Vercel path restrictions and access protected endpoints by manipulating headers or query parameters in unauthenticated requests.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"\\@astrojs\\/vercel","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:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"},{"id":"CWE-441","name":"Unintended Proxy or Intermediary"}],"description":"Astro is a web framework. Prior to version 10.0.2, the @astrojs/vercel serverless entrypoint reads the x-astro-path header and x_astro_path query parameter to rewrite the internal request path, with no authentication whatsoever. On deployments without Edge Middleware, this lets anyone bypass Vercel's platform-level path restrictions entirely. The override preserves the original HTTP method and body, so this isn't limited to GET. POST, PUT, DELETE all land on the rewritten path. A Firewall rule blocking /admin/* does nothing when the request comes in as POST /api/health?x_astro_path=/admin/delete-user. This issue has been patched in version 10.0.2.","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: Unauthenticated Path Override via `x-astro-path` / `x_astro_path`","id":"CVE-2026-33768","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"Astro: Remote allowlist bypass via unanchored matchPathname wildcard","id":"CVE-2026-33769"},"packages":[{"ecosystem":"npm","fixed":["10.0.2"],"introduced":["0"],"last_affected":[],"package":"@astrojs/vercel","purl":null,"source":"GHSA-mr6q-rp88-fx84"},{"ecosystem":"npm","fixed":["10.0.2"],"introduced":["0"],"last_affected":[],"package":"@astrojs/vercel","purl":"pkg:npm/%40astrojs/vercel","source":"GHSA-mr6q-rp88-fx84"}],"prev":{"headline":"AVideo has SQL Injection via Partial Prepared Statement — videos_id Concatenated Directly into Query","id":"CVE-2026-33767"},"products":["astro"],"published":"2026-03-24","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":"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-24","vendors":["withastro"]},"summary":"Attackers can bypass Vercel path restrictions and access protected endpoints by manipulating headers or query parameters in unauthenticated requests.","url":"https://insights.sbomify.com/CVE-2026-33768/"}