Limited arbitrary file upload in AI Engine WordPress plugin
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-434.
Summary
The AI Engine WordPress plugin is affected in all versions up to and including 3.9.4. When the create_image REST endpoint receives no filename, it skips the file type allow-list and writes downloaded content under an extension taken from the URL (CWE-434). An authenticated attacker with Editor access or higher can store HTML, SVG, or JavaScript files in the uploads directory, enabling stored cross-site scripting against any administrator who opens the file.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| tigroumeow | AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini | up to 3.9.4 | — | No fix listed | CNA |
- AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini Vendortigroumeow Affected up to 3.9.4 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for AI Engine WordPress plugin.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Timeline
- 2026-11-26 Threatist record created from CVE-2026-131589
- 2026-11-27 Alias added: GHSA-jh4f-pw58-rx8p
References
Other 7
- https://www.wordfence.com/threat-intel/vulnerabilities/id/02f6619b-eb5e-42ba-b804-9ac2b2dee482?source=cve
- https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L233
- https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L203
- https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/services/image.php#L140
- https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/rest.php#L1210
- https://plugins.trac.wordpress.org/browser/ai-engine/tags/3.9.4/classes/rest.php#L326
- 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
More tigroumeow vulnerabilities
- TI-2023-28063 WordPress AI Engine plugin <= 1.9.98 - Unauthenticated Arbitrary File Upload vulnerability CVSS 3.1CRITICAL 10.0
- TI-2024-09725 AI-Engine < 2.6.5 - Admin+ SQLi CVSS 3.1HIGH 7.2
- TI-2024-05988 AI Engine < 2.5.1 - Admin+ RCE CVSS 3.1HIGH 7.2
- TI-2024-19264 WordPress AI Engine plugin <= 2.1.4 - Server Side Request Forgery (SSRF) vulnerability CVSS 3.1MEDIUM 6.8
- TI-2025-10772 AI Engine <= 3.1.3 - Unauthenticated Sensitive Information Exposure to Privilege Escalation CVSS 3.1CRITICAL 9.8
- TI-2024-06230 AI Engine < 2.4.8 - Admin+ SQLi CVSS 3.1MEDIUM 4.7
Sources
- CVE-2026-131589 · CVE Program
- CVE-2026-131589 · NVD
- FIRST EPSS
- GHSA-jh4f-pw58-rx8p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences