BreachSpiderVerified, not vibes

CVE-2026-22707 in Strapi

Medium 5.4

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 th...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.4
CVSS v45.3
EPSS0.3%
EPSS percentile16th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Strapi Strapi < 5.33.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-22707
BreachSpider IDBS-2026-GLOBAL-069160-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Published2026-05-14
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-434: Unrestricted Upload of File with Dangerous Type

Application allows file uploads without validating type, enabling upload of executable code or web shells.

CWE-693: CWE-693

Related attack patterns (CAPEC)

CAPEC-51 Poison Web Service Registry via CWE-693

CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-693

CAPEC-59 Session Credential Falsification through Prediction via CWE-693

CAPEC-65 Sniff Application Code via CWE-693

CAPEC-107 Cross Site Tracing via CWE-693

Show all 17

CAPEC-127 Directory Indexing via CWE-693

CAPEC-237 Escaping a Sandbox by Calling Code in Another Language via CWE-693

CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-693

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-434, CWE-693

CAPEC-17 Using Malicious Files via CWE-693

CAPEC-20 Encryption Brute Forcing via CWE-693

CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-693

CAPEC-87 Forceful Browsing via CWE-693

CAPEC-480 Escaping Virtualization via CWE-693

CAPEC-668 Key Negotiation of Bluetooth Attack (KNOB) via CWE-693

CAPEC-22 Exploiting Trust in Client via CWE-693

CAPEC-74 Manipulating State via CWE-693

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Strapi versions prior to 5.33.3 have a vulnerability in the Upload plugin where MIME type restrictions are not enforced on the Content API endpoints, allowing unauthorized file uploads.

An attacker can exploit this vulnerability by uploading malicious files through the Content API endpoints, bypassing the administrator-configured MIME type restrictions that are correctly enforced on the Admin Panel upload path.

Questions

What is CVE-2026-22707?

Strapi versions prior to 5.33.3 have a vulnerability in the Upload plugin where MIME type restrictions are not enforced on the Content API endpoints, allowing unauthorized file uploads.

What is the CVSS score for CVE-2026-22707?

CVE-2026-22707 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.3%.

Is CVE-2026-22707 actively exploited?

No confirmed active exploitation of CVE-2026-22707 as of 2026-11-03.

How do I remediate CVE-2026-22707?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-22707?

CVE-2026-22707 affects Strapi Strapi.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Strapi","product":"Strapi","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.