{"answers":{"affected":"4 open source packages ship an affected version, including nx.","exploited":"There is no known exploitation of CVE-2026-54753 in the wild and no public exploit code.","fix":"Upgrade nx to a fixed version for your release line: 22.7.2 or 23.0.0-beta.2.","what":"CVE-2026-54753 is a medium-severity vulnerability in nrwl nx, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-54753 and fix it if it is affected.\n\nWhat it is: CVE-2026-54753 is a medium-severity vulnerability in nrwl nx, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-54753 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nx (npm): affected from 17.0.4; fixed in 22.7.2\n- nx (npm): affected from 17.0.4; fixed in 22.7.2\n- nx (npm): affected from 23.0.0-beta.0; fixed in 23.0.0-beta.2\n- nx (npm): affected from 23.0.0-beta.0; fixed in 23.0.0-beta.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-54753/ (Markdown: https://insights.sbomify.com/CVE-2026-54753/index.md)","id":"CVE-2026-54753","markdown":"https://insights.sbomify.com/CVE-2026-54753/index.md","name":"CVE-2026-54753","record":{"aliases":["GHSA-g2r8-wvmj-jf5w"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Nx monorepo tool","requires_auth":"none","summary":"Permissive CORS policy in Nx graph dev server allows cross-origin data theft and potential command injection via help endpoints.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-942","name":"Permissive Cross-domain Security Policy with Untrusted Domains"},{"id":"CWE-749","name":"Exposed Dangerous Method or Function"}],"description":"Nx is a monorepo solution for TypeScript and polyglot codebases. From 17.0.4 until 22.7.2 and 23.0.0-beta.2, the local HTTP server started by nx graph sent Access-Control-Allow-Origin: * on every response, letting any website a developer visited read the server's responses cross-origin — including the full project graph and the output of the /help endpoint, which runs a target's configured help command. The practical impact is typically cross-origin information disclosure, but can be arbitrary command injection in rare cases. This vulnerability is fixed in 22.7.2 and 23.0.0-beta.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":"Nx: `nx graph` dev server permissive CORS policy","id":"CVE-2026-54753","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":4,"n_references":2,"next":{"headline":"Klever: Marketplace settlement mints KLV when referral % + royalty % exceed the bid (negative seller share silently skipped)","id":"CVE-2026-54754"},"packages":[{"ecosystem":"npm","fixed":["22.7.2"],"introduced":["17.0.4"],"last_affected":[],"package":"nx","purl":null,"source":"GHSA-g2r8-wvmj-jf5w"},{"ecosystem":"npm","fixed":["22.7.2"],"introduced":["17.0.4"],"last_affected":[],"package":"nx","purl":"pkg:npm/nx","source":"GHSA-g2r8-wvmj-jf5w"},{"ecosystem":"npm","fixed":["23.0.0-beta.2"],"introduced":["23.0.0-beta.0"],"last_affected":[],"package":"nx","purl":null,"source":"GHSA-g2r8-wvmj-jf5w"},{"ecosystem":"npm","fixed":["23.0.0-beta.2"],"introduced":["23.0.0-beta.0"],"last_affected":[],"package":"nx","purl":"pkg:npm/nx","source":"GHSA-g2r8-wvmj-jf5w"}],"prev":{"headline":"Deserialization in devicetype-library","id":"CVE-2026-54752"},"products":["nx"],"published":"2026-06-26","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-06-26","vendors":["nrwl"]},"summary":"Permissive CORS policy in Nx graph dev server allows cross-origin data theft and potential command injection via help endpoints.","url":"https://insights.sbomify.com/CVE-2026-54753/"}