# CVE-2022-27263: Strapi arbitrary file upload and code execution

Source: https://junglewise.ai/threats/cve-2022-27263-strapi-arbitrary-file-upload-and-code-execution  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-04-13. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2022-27263 · Severity: low · CVSS 3.1 · Published 2022-04-13

Strapi is a popular open-source headless CMS platform used by developers to build content management systems. This vulnerability allows unauthenticated attackers to upload arbitrary files and execute malicious code on the server, potentially compromising the entire system and customer data.

Technologies: [strapi (npm)](https://junglewise.ai/threats/technologies/strapi). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2022-27263 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-27263 being exploited in the wild.

**How severe is CVE-2022-27263?** Low severity, with a CVSS score of 3.1, published 13 April 2022.

**Which products and versions are affected?** strapi (npm) SEMVER:introduced=0,last_affected=4.1.5.

**Is there a fix for CVE-2022-27263?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2022-27263 attacked?** It is attacked over the network.

**Am I affected by CVE-2022-27263?** Check whether you run strapi (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

An unrestricted file upload vulnerability (CWE-434) exists in Strapi's file upload module affecting version 4.1.5 and earlier. The vulnerability allows unauthenticated attackers to upload arbitrary files through a network request without authentication, enabling remote code execution on the affected system. The attack has no access control requirements and can be triggered directly over the network. Successful exploitation grants attackers complete control over the server, including the ability to read, modify, or delete data, and disrupt service availability. Patches are available in newer versions of Strapi.

## Affected products

- Strapi Strapi 4.1.5 and earlier

## Identifiers

- CVE-2022-27263
- GHSA-9qgm-w87q-hx89

## Timeline

- 2022-04-13: disclosed
- 2022-04-22: advisory: GitHub advisory review

## References

- [https://github.com/strapi/strapi](https://github.com/strapi/strapi)

## Related threats

- [Strapi information disclosure via hidden attributes in admin API](https://junglewise.ai/threats/cve-2022-31367-strapi-information-disclosure-via-hidden-attributes-in-admin-api)
- [Strapi stored cross-site scripting in file upload](https://junglewise.ai/threats/cve-2022-29894-strapi-stored-cross-site-scripting-in-file-upload)
- [Strapi improper input validation in email templates](https://junglewise.ai/threats/cve-2020-13961-strapi-improper-input-validation-in-email-templates)
- [Strapi sensitive information disclosure in admin panel](https://junglewise.ai/threats/cve-2022-30618-strapi-sensitive-information-disclosure-in-admin-panel)
- [Strapi sensitive information disclosure in admin responses](https://junglewise.ai/threats/cve-2022-30617-strapi-sensitive-information-disclosure-in-admin-responses)
