Home / strapi / strapi / CVE-2026-22707
CVE-2026-22707: is it exploited, and which versions of strapi are affected and fixed?
CVE-2026-22707 is an unrestricted file upload vulnerability in strapi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: @strapi/upload before 5.33.3 (GitHub advisory GHSA-pcw7-5633-82vv). Fixed in 5.33.3 (GitHub advisory GHSA-pcw7-5633-82vv). Severity: Medium (5.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-22707?
Strapi Upload Plugin MIME Validation Bypass via Content API
Strapi is an open source headless content management system. In Strapi versions prior to 5.33.3, the Upload plugin's Content API endpoints did not enforce the administrator-configured MIME type restrictions (`plugin.upload.security.allowedTypes` and `deniedTypes`). The same restrictions were correctly enforced on the Admin Panel upload path. The upload plugin's `enforceUploadSecurity` security check was invoked in the admin upload controller but was missing from the Content API controller. The Content API handlers `uploadFiles` and `replaceFile` (and the `upload` wrapper that dispatches to them) called the underlying upload service directly, bypassing both the magic-byte MIME detection and the configured allow/deny lists. An authenticated user with the Content API upload permission could therefore upload file types the administrator had explicitly disallowed, including HTML and SVG content. In deployments serving uploaded files from the same origin as the admin panel (default), an attacker could upload an HTML or SVG file that, when opened directly by an admin, executed JavaScript in the admin origin, enabling admin-session hijack and authenticated administrative actions against the admin API. The patch in version 5.33.3 introduces a shared `prepareUploadRequest` helper that wraps `enforceUploadSecurity` and is called from both the Content API and admin upload controllers, ensuring identical security policy enforcement on every upload entry point.
From the CVE record by GitHub_M, last updated May 14, 2026, 19:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| strapi | strapi | < 5.33.3 | |
| strapi | @strapi/upload | < 5.33.3 |
As the CVE record by GitHub_M states it, last updated May 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @strapi/upload | < 5.33.3 | 5.33.3 | GHSA-pcw7-5633-82vv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 15, 2026. Summary: Strapi Upload Plugin MIME Validation Bypass via Content API.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| strapi | strapi | before 5.33.3 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 14:10 UTC.
How severe is CVE-2026-22707?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N | GitHub_M |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-22707 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 14, 2026)
- EPSS
- 0.19% probability of exploitation activity in the next 30 days, percentile 9.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/strapi/strapi/security/advisories/GHSA-pcw7-5633-82vv x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- January 8, 2026
- Published
- May 14, 2026, 18:40 UTC
- CVE record updated
- May 14, 2026, 19:40 UTC by GitHub_M
- NVD
- Analyzed, last modified October 26, 2026, 14:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect strapi?
- Apr 19, 2023CVE-2023-22894 Strapi: sensitive data stored in clear text exploited
- Oct 10, 2026CVE-2026-108114 strapi: incorrect authorization
- Sep 13, 2026CVE-2026-90561 strapi: cross-site scripting (XSS)
- Jun 29, 2026CVE-2026-57997 strapi: broken or risky cryptography
- May 14, 2026CVE-2026-27886 strapi: path traversal (reading or writing files outside the intended folder)
- May 14, 2026CVE-2026-22706 strapi: session does not expire
- May 14, 2026CVE-2026-22599 strapi: SQL injection
- May 14, 2026CVE-2025-64526 strapi: no limit on login attempts (brute force)
Questions about CVE-2026-22707
Is CVE-2026-22707 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.19% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of strapi are affected by CVE-2026-22707?
@strapi/upload before 5.33.3, per the GitHub advisory GHSA-pcw7-5633-82vv. The tables above give every range the sources list.
Which version fixes CVE-2026-22707?
5.33.3, per the GitHub advisory GHSA-pcw7-5633-82vv. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-22707?
Medium (5.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-22707?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.