{"answers":{"affected":"4 open source packages ship an affected version, including next. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-32421 in the wild and no public exploit code.","fix":"Upgrade next to a fixed version for your release line: 14.2.24 or 15.1.6.","what":"CVE-2025-32421 is a low-severity vulnerability in Vercel Next.js, published on 14 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-32421 and fix it if it is affected.\n\nWhat it is: CVE-2025-32421 is a low-severity vulnerability in Vercel Next.js, published on 14 May 2025. 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-2025-32421 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- next (npm): affected from 0.9.9; fixed in 14.2.24\n- next (npm): affected from 0.9.9; fixed in 14.2.24\n- next (npm): affected from 15.0.0; fixed in 15.1.6\n- next (npm): affected from 15.0.0; fixed in 15.1.6\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-2025-32421/ (Markdown: https://insights.sbomify.com/CVE-2025-32421/index.md)","id":"CVE-2025-32421","markdown":"https://insights.sbomify.com/CVE-2025-32421/index.md","name":"CVE-2025-32421","record":{"aliases":["GHSA-qpjv-v59x-3qc4","MINI-6fmh-4jmf-4pvj","ROOT-APP-NPM-CVE-2025-32421"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Next.js framework","requires_auth":"none","summary":"Attackers can poison caches to serve incorrect data due to a race condition in Next.js Pages Router under specific misconfigurations.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"next.js","vendor":"vercel"}],"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-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"Next.js is a React framework for building full-stack web applications. Versions prior to 14.2.24 and 15.1.6 have a race-condition vulnerability. This issue only affects the Pages Router under certain misconfigurations, causing normal endpoints to serve `pageProps` data instead of standard HTML. This issue was patched in versions 15.1.6 and 14.2.24 by stripping the `x-now-route-matches` header from incoming requests. Applications hosted on Vercel's platform are not affected by this issue, as the platform does not cache responses based solely on `200 OK` status without explicit `cache-control` headers. Those who self-host Next.js deployments and are unable to upgrade immediately can mitigate this vulnerability by stripping the `x-now-route-matches` header from all incoming requests at the content development network and setting `cache-control: no-store` for all responses under risk. The maintainers of Next.js strongly recommend only caching responses with explicit cache-control headers.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2025-10-11","github_poc":2,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-11-26T01:59:36Z","kind":"github_poc","ref":"https://github.com/Delfaster/CVE-2025-32421---Race-Condition-Vulnerability---Next.js","stars":2,"title":"PoC Lab for CVE-2025-32421 – Next.js Race Condition Cache Poisoning Simulation"},{"date":"2025-10-11T07:24:02Z","kind":"github_poc","ref":"https://github.com/hidesec/CVE-2025-32421","stars":1,"title":"Comprehensive demonstration of CVE-2025-32421 Eclipse technique - a sophisticated race condition attack against Next.js 15.0.4 that bypasses the original CVE-2024-46982 patch."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Next.js Race Condition to Cache Poisoning","id":"CVE-2025-32421","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"vercel:next.js","products":["vercel:next.js"],"type":"race_condition","year":"2025"},"n_packages":4,"n_references":2,"next":{"headline":"AutoGPT has a DoS vulnerability in FileStoreBlock with StepThroughItemsBlock","id":"CVE-2025-32422"},"packages":[{"ecosystem":"npm","fixed":["14.2.24"],"introduced":["0.9.9"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-qpjv-v59x-3qc4"},{"ecosystem":"npm","fixed":["14.2.24"],"introduced":["0.9.9"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-qpjv-v59x-3qc4"},{"ecosystem":"npm","fixed":["15.1.6"],"introduced":["15.0.0"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-qpjv-v59x-3qc4"},{"ecosystem":"npm","fixed":["15.1.6"],"introduced":["15.0.0"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-qpjv-v59x-3qc4"}],"prev":{"headline":"Memory corruption in libxml2","id":"CVE-2025-32415"},"products":["next.js"],"published":"2025-05-14","related":[{"cvss_score":9.1,"headline":"Authorization Bypass in Next.js Middleware","id":"CVE-2025-29927","kev_date_added":null,"published":"2025-03-21"},{"cvss_score":8.6,"headline":"Next.js: Server-side request forgery in applications using WebSocket upgrades","id":"CVE-2026-44578","kev_date_added":null,"published":"2026-05-13"},{"cvss_score":8.3,"headline":"Next.js: Server-Side Request Forgery in Image Optimization","id":"CVE-2026-94483","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.3,"headline":"Next.js: Middleware / Proxy bypass in App Router applications using Turbopack and single locale","id":"CVE-2026-64642","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.3,"headline":"Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname","id":"CVE-2026-64645","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.3,"headline":"Next.js: Server-Side Request Forgery in Server Actions on Custom Servers","id":"CVE-2026-64649","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.2,"headline":"Next.js: Denial of Service in App Router using Server Actions","id":"CVE-2026-64641","kev_date_added":null,"published":"2026-07-27"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-15","vendors":["vercel"]},"summary":"Attackers can poison caches to serve incorrect data due to a race condition in Next.js Pages Router under specific misconfigurations.","url":"https://insights.sbomify.com/CVE-2025-32421/"}