{"answers":{"affected":"2 open source packages ship an affected version, including @apostrophecms/cli.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42853 exists.","fix":"No fix has been published for CVE-2026-42853 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-42853 is a medium-severity command injection vulnerability in @apostrophecms/cli, published on 12 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-42853 and fix it if it is affected.\n\nWhat it is: CVE-2026-42853 is a medium-severity command injection vulnerability in @apostrophecms/cli, published on 12 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42853 exists.\n\nAffected packages and fixed versions:\n- @apostrophecms/cli (npm): affected all versions up to 3.6.0; no fix listed\n- @apostrophecms/cli (npm): affected all versions up to 3.6.0; no fix listed\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-42853/ (Markdown: https://insights.sbomify.com/CVE-2026-42853/index.md)","id":"CVE-2026-42853","markdown":"https://insights.sbomify.com/CVE-2026-42853/index.md","name":"CVE-2026-42853","record":{"aliases":["GHSA-hcwq-x9fw-8cfq"],"analysis":{"component_type":"developer_tool","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Node.js CMS CLI","requires_auth":"high_privilege","summary":"Attackers can execute arbitrary commands on the host system via unsanitized password input in the ApostropheCMS CLI create command.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"ApostropheCMS is an open-source Node.js content management system. Versions of the @apostrophecms/cli package up to and including 3.6.0 contain a command injection vulnerability in the apos create command. User-supplied input from the password prompt is embedded directly into a shell command without proper sanitization or escaping. This allows execution of arbitrary commands on the host system. As of time of publication, no known patched versions are available.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"@apostrophecms/cli: Command Injection in apos create via Unsanitized Password Input","id":"CVE-2026-42853","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"arduino-esp32: Stack buffer overflow in WebServer multipart boundary parsing leads to remote crash potential RCE","id":"CVE-2026-42854"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["3.6.0"],"package":"@apostrophecms/cli","purl":null,"source":"GHSA-hcwq-x9fw-8cfq"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["3.6.0"],"package":"@apostrophecms/cli","purl":"pkg:npm/%40apostrophecms/cli","source":"GHSA-hcwq-x9fw-8cfq"}],"prev":{"headline":"@kitty-edit DCS + --color=geninclude vulnerable to Unauthenticated in-process RCE","id":"CVE-2026-42851"},"products":["@apostrophecms/cli"],"published":"2026-06-12","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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-13","vendors":["apostrophecms"]},"summary":"Attackers can execute arbitrary commands on the host system via unsanitized password input in the ApostropheCMS CLI create command.","url":"https://insights.sbomify.com/CVE-2026-42853/"}