Every CVE Search/ Get API key

CVE-2022-0764

Arbitrary Command Injection in strapi/strapi

6.1 MediumFix available

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
High
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
Low

Exploit likelihood

0.73%Down 0.3 points since Feb 27, 2022
90%50%10%1%

What each source reports

CVE List Score used 6.1

Arbitrary Command Injection in strapi/strapi

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

Record
CVE-2022-0764
CVSS 3.0
6.1 MediumCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-78
Updated
2026-11-02
EUVDEUVD-2022-1258 6.1

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

Record
EUVD-2022-1258
CVSS 3.0
6.1 MediumCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-xrjf-phvv-r4vr 6.1

Command injection in strapi

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, this happens due to improper sanitization of user input.

Record
GHSA-xrjf-phvv-r4vr
CVSS 3.0
6.1 MediumCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-77, CWE-78
Updated
2026-11-02
NVD 6.7

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

Record
CVE-2022-0764
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
6.1 MediumCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
CVSS 2.0
7.2 HighAV:L/AC:L/Au:N/C:C/I:C/A:C
Weakness
CWE-78
Updated
2026-11-02
OSV 6.1

Arbitrary Command Injection in strapi/strapi

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

Record
CVE-2022-0764
CVSS 3.0
6.1 MediumCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-78
Updated
2026-11-02
OSVGHSA-xrjf-phvv-r4vr 6.1

Command injection in strapi

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, this happens due to improper sanitization of user input.

Record
GHSA-xrjf-phvv-r4vr
CVSS 3.0
6.1 MediumCVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-77, CWE-78
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
strapi
npm
before 4.1.0
4.1.0

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-0764 is a medium vulnerability (CVSS 6.1) in Strapi, published February 26, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.73%, the 54th percentile. Fixed in strapi 4.1.0.

References

MoveEnter Open