{"answers":{"affected":"14 open source packages ship an affected version, including next.","exploited":"There is no known exploitation of GHSA-9qr9-h5gf-34mp in the wild and no public exploit code.","fix":"Upgrade next to a fixed version for your release line: 15.0.5, 15.1.9, 15.2.6 or 15.3.6.","what":"GHSA-9qr9-h5gf-34mp is a code injection vulnerability in next, published on 3 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-9qr9-h5gf-34mp and fix it if it is affected.\n\nWhat it is: GHSA-9qr9-h5gf-34mp is a code injection vulnerability in next, published on 3 Dec 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 GHSA-9qr9-h5gf-34mp in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- next (npm): affected from 14.3.0-canary.77; fixed in 15.0.5\n- next (npm): affected from 14.3.0-canary.77; fixed in 15.0.5\n- next (npm): affected from 15.1.0-canary.0; fixed in 15.1.9\n- next (npm): affected from 15.1.0-canary.0; fixed in 15.1.9\n- next (npm): affected from 15.2.0-canary.0; fixed in 15.2.6\n- next (npm): affected from 15.2.0-canary.0; fixed in 15.2.6\n- next (npm): affected from 15.3.0-canary.0; fixed in 15.3.6\n- next (npm): affected from 15.3.0-canary.0; fixed in 15.3.6\n- next (npm): affected from 15.4.0-canary.0; fixed in 15.4.8\n- next (npm): affected from 15.4.0-canary.0; fixed in 15.4.8\n- next (npm): affected from 15.5.0-canary.0; fixed in 15.5.7\n- next (npm): affected from 15.5.0-canary.0; fixed in 15.5.7\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/GHSA-9qr9-h5gf-34mp/ (Markdown: https://insights.sbomify.com/GHSA-9qr9-h5gf-34mp/index.md)","id":"GHSA-9qr9-h5gf-34mp","markdown":"https://insights.sbomify.com/GHSA-9qr9-h5gf-34mp/index.md","name":"GHSA-9qr9-h5gf-34mp","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"React server components","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via the React flight protocol in affected Next.js and React server packages.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"A vulnerability affects certain React packages\u003csup\u003e1\u003c/sup\u003e for versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0 and frameworks that use the affected packages, including Next.js 15.x and 16.x using the App Router. The issue is tracked upstream as [CVE-2025-55182](https://www.cve.org/CVERecord?id=CVE-2025-55182). \n\nFixed in:\nReact: 19.0.1, 19.1.2, 19.2.1\nNext.js: 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7, 15.6.0-canary.58, 16.1.0-canary.12+\n\nThe vulnerability also affects experimental canary releases starting with 14.3.0-canary.77. Users on any of the 14.3 canary builds should either downgrade to a 14.x stable release or 14.3.0-canary.76.\n\nAll users of stable 15.x or 16.x Next.js versions should upgrade to a patched, stable version immediately.\n\n\u003csup\u003e1\u003c/sup\u003e The affected React packages are:\n- react-server-dom-parcel\n- react-server-dom-turbopack\n- react-server-dom-webpack","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Next.js is vulnerable to RCE in React flight protocol","id":"GHSA-9qr9-h5gf-34mp","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":14,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["15.0.5"],"introduced":["14.3.0-canary.77"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["15.0.5"],"introduced":["14.3.0-canary.77"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["15.1.9"],"introduced":["15.1.0-canary.0"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["15.1.9"],"introduced":["15.1.0-canary.0"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["15.2.6"],"introduced":["15.2.0-canary.0"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["15.2.6"],"introduced":["15.2.0-canary.0"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["15.3.6"],"introduced":["15.3.0-canary.0"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["15.3.6"],"introduced":["15.3.0-canary.0"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["15.4.8"],"introduced":["15.4.0-canary.0"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["15.4.8"],"introduced":["15.4.0-canary.0"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["15.5.7"],"introduced":["15.5.0-canary.0"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["15.5.7"],"introduced":["15.5.0-canary.0"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["16.0.7"],"introduced":["16.0.0-canary.0"],"last_affected":[],"package":"next","purl":null,"source":"GHSA-9qr9-h5gf-34mp"},{"ecosystem":"npm","fixed":["16.0.7"],"introduced":["16.0.0-canary.0"],"last_affected":[],"package":"next","purl":"pkg:npm/next","source":"GHSA-9qr9-h5gf-34mp"}],"products":null,"published":"2025-12-03","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Remote attackers can execute arbitrary code via the React flight protocol in affected Next.js and React server packages.","url":"https://insights.sbomify.com/GHSA-9qr9-h5gf-34mp/"}