CVE-2022-0764
highpriority · track · 27EPSS 0.007 · 54 %ileEUUSEPSS · scored 2026-10-27
Arbitrary Command Injection in GitHub repository strapi/strapi prior to 4.1.0.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.1–7.2
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-xrjf-phvv-r4vrCommand injection in strapi2022-02-27ghsa · osvUS
When creating a strapi app using npxcreate-strapi-app, we can inject arbitrary commands through the template cli argument as per the code in this particular [link](https://github.com/strapi/strapi/blob/master/packages/generators/app/lib/utils/fetch-npm-template.js#L13), this happens due to improper sanitization of user input.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-0764/cnnvd
- https://github.com/strapi/strapi/commit/2a3f5e988be6a2c7dae5ac22b9e86d579b462f4ccnnvd
- https://github.com/strapi/strapi/issues/12879cnnvd
- https://huntr.dev/bounties/001d1c29-805a-4035-93bb-71a0e81da3e5cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2022-0764cnnvd
- https://github.com/strapi/strapi/commit/2a3f5e988be6a2c7dae5ac22b9e86d579b462f4cenisa_euvd
- https://github.com/strapi/strapi/issues/12879enisa_euvd
- https://huntr.dev/bounties/001d1c29-805a-4035-93bb-71a0e81da3e5enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan