CVE-2025-31692
JSON

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 packageVersionsReported by
Drupal AI (Artificial Intelligence)from 0.0.0 before 1.0.5CVE List
drupal/ai (Packagist)before 1.0.5GitHub Advisory Database
drupal/ai (Packagist:https://packages.drupal.org/8)before 1.0.5Drupal Security Team
artificial_intelligence_project artificial_intelligencebefore 1.0.5NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHubmedium CVSS:4.0CVSS: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

CWE-78

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

Sources

SourceRecordLicence
CVE ListCVE-2025-31692 changed 2025-04-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-pwjq-fx3v-8f9r changed 2025-12-10CC-BY-4.0
Drupal Security TeamDRUPAL-CONTRIB-2025-021 changed 2026-09-10MIT
NVDCVE-2025-31692 changed 2026-07-16Public domain