6.6medium
AI (Artificial Intelligence) - Moderately critical - Gadget Chain - SA-CONTRIB-2025-022
- Severity
- 6.6medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.76% (higher than 56% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- drupal
- Also known as
- GHSA-vx9m-rfxq-gr74DRUPAL-CONTRIB-2025-022
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 | 6.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 6.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/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:H/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 a field data using LLM outputs.
The module contains a potential PHP Object Injection vulnerability that (if combined with another exploit) could lead to Arbitrary File Deletion. It may be possible to escalate this attack to Remote Code Execution. It is not directly exploitable.
This issue is mitigated by the fact that for it to be exploitable, a separate vulnerability must be present to allow an attacker to pass unsafe input to unserialize(). The potential 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-022 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-31693 | advisory | |
| https://git.drupalcode.org/project/ai | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-31693 changed 2025-04-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vx9m-rfxq-gr74 changed 2025-12-10 | CC-BY-4.0 |
| Drupal Security Team | DRUPAL-CONTRIB-2025-022 changed 2026-09-10 | MIT |
| NVD | CVE-2025-31693 changed 2026-07-16 | Public domain |