{"answers":{"affected":"2 open source packages ship an affected version, including magicmirror. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42281 exists.","fix":"Upgrade magicmirror to 2.36.0 or later.","what":"CVE-2026-42281 is a critical server-side request forgery vulnerability in MagicMirrorOrg MagicMirror, published on 14 May 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-42281 and fix it if it is affected.\n\nWhat it is: CVE-2026-42281 is a critical server-side request forgery vulnerability in MagicMirrorOrg MagicMirror, published on 14 May 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-42281 exists.\n\nAffected packages and fixed versions:\n- magicmirror (npm): affected all versions; fixed in 2.36.0\n- magicmirror (npm): affected all versions; fixed in 2.36.0\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-42281/ (Markdown: https://insights.sbomify.com/CVE-2026-42281/index.md)","id":"CVE-2026-42281","markdown":"https://insights.sbomify.com/CVE-2026-42281/index.md","name":"CVE-2026-42281","record":{"aliases":["GHSA-ph6f-2cvq-79hq"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Smart mirror platform","requires_auth":"none","summary":"Unauthenticated attackers can force the server to make arbitrary HTTP requests and exfiltrate secrets via environment variable expansion in the /cors endpoint.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"magicmirror","vendor":"magicmirror"}],"cvss":{"score":9.2,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"MagicMirror² is an open source modular smart mirror platform. Prior to 2.36.0, an unauthenticated Server-Side Request Forgery (SSRF) vulnerability in the /cors endpoint allows any remote attacker to force the MagicMirror² server to perform arbitrary HTTP requests to internal networks, cloud metadata services, and localhost services. The endpoint also expands environment variable placeholders (**VAR_NAME**), enabling exfiltration of server-side secrets. This vulnerability is fixed in 2.36.0.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-04-30","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-04-30T21:48:55Z","kind":"github_poc","ref":"https://github.com/Astaruf/CVE-2026-42281","stars":0,"title":"CVE-2026-42281 - MagicMirror \u003c= 2.35.0 - Unauthenticated SSRF via /cors endpoint"},{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-42281.yaml","stars":null,"title":"MagicMirror \u003c= 2.35.0 - Server-Side Request Forgery"}],"tier":"weaponised"},"has_fix":true,"headline":"MagicMirror²: Unauthenticated SSRF via /cors endpoint","id":"CVE-2026-42281","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"n8n-MCP: Sensitive MCP tool-call arguments logged on authenticated requests in HTTP mode","id":"CVE-2026-42282"},"packages":[{"ecosystem":"npm","fixed":["2.36.0"],"introduced":["0"],"last_affected":[],"package":"magicmirror","purl":null,"source":"GHSA-ph6f-2cvq-79hq"},{"ecosystem":"npm","fixed":["2.36.0"],"introduced":["0"],"last_affected":[],"package":"magicmirror","purl":"pkg:npm/magicmirror","source":"GHSA-ph6f-2cvq-79hq"}],"prev":{"headline":"Improper Permission Checking in Auth.js SDK","id":"CVE-2026-42280"},"products":["MagicMirror"],"published":"2026-05-14","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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-14","vendors":["MagicMirrorOrg"]},"summary":"Unauthenticated attackers can force the server to make arbitrary HTTP requests and exfiltrate secrets via environment variable expansion in the /cors endpoint.","url":"https://insights.sbomify.com/CVE-2026-42281/"}