AI Engine <= 3.9.8 - Authenticated (Editor+) Path Traversal via 'videoId' Parameter
- ID
- WPSEC-2026-4660
- Plugin
- AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini (ai-engine)
- Affected
- from 3.1.2 before 3.9.9
- Remediation
- Update to 3.9.9 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L
- Weakness
- CWE-22
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-05
- Attack surface
- AI Engine on WPSec AttackSurface
- Fix released
- Published
Description
The AI Engine plugin for WordPress is vulnerable to Path Traversal via the 'videoId' and 'openaiId' parameters of the video helper REST endpoints in all versions up to, and including, 3.9.8. This is due to insufficient validation of the OpenAI video ID, which was only passed through sanitize_text_field before being appended to an OpenAI API URL sent with the site's API key. This makes it possible for authenticated attackers, with Editor-level access and above, to reach other OpenAI API endpoints with values such as '../files' and list, download and delete files stored in the site owner's OpenAI account.
References
- https://wpsec.com/vuln/WPSEC-2026-4660/
- https://plugins.svn.wordpress.org/ai-engine/tags/3.9.9/
- https://wordpress.org/plugins/ai-engine/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS