7.5high
AI (Artificial Intelligence) - Critical - Remote Code Execution - SA-CONTRIB-2025-021
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.77% (higher than 56% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- drupal
- Also known as
- GHSA-pwjq-fx3v-8f9rDRUPAL-CONTRIB-2025-021
Description
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Drupal AI (Artificial Intelligence) allows OS Command Injection.This issue affects AI (Artificial Intelligence): from 0.0.0 before 1.0.5.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Drupal AI (Artificial Intelligence) | from 0.0.0 before 1.0.5 | CVE List |
| drupal/ai (Packagist) | before 1.0.5 | GitHub Advisory Database |
| drupal/ai (Packagist:https://packages.drupal.org/8) | before 1.0.5 | Drupal Security Team |
| artificial_intelligence_project artificial_intelligence | before 1.0.5 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Drupal AI (Artificial Intelligence) allows OS Command Injection.This issue affects AI (Artificial Intelligence): from 0.0.0 before 1.0.5.
GitHub Advisory Database
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Drupal AI (Artificial Intelligence) allows OS Command Injection. This issue affects AI (Artificial Intelligence): from 0.0.0 before 1.0.5.
Drupal Security Team
The AI Automators module (a submodule of AI) enables you to create different automated tasks that fills out field data using LLM outputs.
The module doesn't sufficiently sanitize input before passing it to the underlying shell as part of a command for execution, allowing an attacker to run arbitrary commands.
The vulnerability exists in optional Automator Types which are part of the optional AI Automators (sub)module.
The AI module is included in Drupal CMS.
NVD (es)
Vulnerabilidad de neutralización incorrecta de elementos especiales utilizados en un comando del sistema operativo ('Inyección de comando del sistema operativo') en Drupal AI (Artificial Intelligence) permite la inyección de comandos del sistema operativo. Este problema afecta a AI (Inteligencia Artificial): desde 0.0.0 antes de 1.0.5.
References
| https://www.drupal.org/sa-contrib-2025-021 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-31692 | advisory | |
| https://git.drupalcode.org/project/ai | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-31692 changed 2025-04-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pwjq-fx3v-8f9r changed 2025-12-10 | CC-BY-4.0 |
| Drupal Security Team | DRUPAL-CONTRIB-2025-021 changed 2026-09-10 | MIT |
| NVD | CVE-2025-31692 changed 2026-07-16 | Public domain |