All vulnerabilities

Servers and applications

CVE-2026-22707

Upload Plugin MIME Validation Bypass via Content API

Severity
Medium 5.3
Published
13 May 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
5.33.3
Exploit chance
0.2% in the next 30 daysHigher than 9% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Unrestricted file upload (CWE-434)Protection mechanism failure (CWE-693)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-pcw7-5633-82vv
Sources
NVD, Project advisories (GitHub)

Description

  • CVE: CVE-2026-22707
  • CVSS v3.1 Vector: 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 (5.3 — Medium)
  • Affected Versions: @strapi/upload <=5.33.2
  • How to Patch: Immediately update your Strapi to >=5.33.3

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.

From strapi/strapi's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
StrapiServers and applications · cpe:a:strapi:strapi
  • Every version before 5.33.3
StrapiServers and applications · github:strapi/strapi
  • Every version before 5.33.3

About Strapi

open-source headless content management system

From Wikidata, CC0 1.0.
Weekly downloads (npm)
266,681npm, 15 Nov 2026
GitHub stars
73,487GitHub, 15 Nov 2026
Forks
10,024GitHub, 15 Nov 2026
Latest release
v5.62.0GitHub, 15 Nov 2026
Released
12 Nov 2026GitHub
Written in
TypeScript, JavaScriptWikidata
First published on GitHub
30 Sept 2015GitHub

Release lines

ReleaseLatestSecurity fixes
5 (LTS)LTS5.62.0Yes
44.26.2Ended 9 Jun 2026
33.6.11Ended 16 Feb 2022

From endoflife.date.

Vulnerabilities in Strapi

In our list
40
Published in the last 12 months
7
Critical, last 12 months
2
High, last 12 months
0
Known exploited
1
Search the list for Strapi

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-22707
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-22707
  • GitHub Advisory Database https://github.com/advisories/GHSA-pcw7-5633-82vv
  • github.com https://github.com/strapi/strapi/security/advisories/GHSA-pcw7-5633-82vv