# CVE-2026-131589: AI Engine \<= 3.9.4 - Authenticated (Editor+) Limited Arbitrary File Upload via 'url' Parameter

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.65% (percentile 46, 2026-11-28)
- **CWE:** CWE-434
- **Published:** 2026-11-26T09:33:20.315Z
- **Modified:** 2026-11-26T10:17:07.927Z

> **AI summary (AI-generated, claude-haiku-5-5):** An authenticated Editor-level attacker can upload HTML, SVG, or JavaScript files with chosen extensions to WordPress uploads via the AI Engine plugin, enabling stored XSS against administrators.

## Who should check

- Anyone running tigroumeow AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini \<= 3.9.4

## Description

The AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini plugin for WordPress is vulnerable to Limited Arbitrary File Upload in all versions up to, and including, 3.9.4 via the \`url\` parameter of the \`/mwai/v1/helpers/create\_image\` REST API endpoint. The vulnerability exists because the \`add\_image\_from\_url()\` function applies the \`get\_allowed\_mime\_types()\` extension allow-list only on the custom-filename branch; when the request omits a \`filename\` value, the empty-filename branch derives the stored file's extension directly from the URL basename via \`sanitize\_file\_name()\` without any MIME or extension validation, then writes the downloaded response body verbatim to the WordPress uploads directory via \`file\_put\_contents()\`. This makes it possible for authenticated attackers with Editor-level access and above to place attacker-controlled HTML, SVG, or JavaScript files into \`wp-content/uploads/YYYY/MM/\` under an attacker-chosen extension, enabling stored cross-site scripting against any administrator who opens the resulting attachment URL. The download routine accepts any HTTP response whose \`Content-Type\` header begins with \`image/\`, a value freely controlled by the attacker-owned origin server, meaning the written content need not be a valid image.

## Affected and fixed versions

- tigroumeow AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini: \<= 3.9.4 (cvelist)

## Technologies

WordPress (AI-matched), WordPress plugins and themes

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-131589. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-131589.md
Affected: tigroumeow AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini <= 3.9.4
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for tigroumeow AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-131589 being exploited?

There is no confirmed exploitation: CVE-2026-131589 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-131589?

High: CVSS 7.2 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-131589?

tigroumeow AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini \<= 3.9.4.

### Is there a fix for CVE-2026-131589?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-131589?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/02f6619b-eb5e-42ba-b804-9ac2b2dee482?source=cve>
- other: <https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L233>
- other: <https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L203>
- other: <https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L140>
- other: <https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/rest.php#L1210>
- other: <https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/rest.php#L326>
- other: <https://plugins.trac.wordpress.org/changeset?old_path=/ai-engine/tags/3.9.4/classes/services/image.php&new_path=/ai-engine/tags/3.9.5/classes/services/image.php>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-131589>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-131589> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-131589>
