CVE-2025-31693
JSON

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 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-ADP6.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
GitHub6.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
GitHubmedium CVSS:4.0CVSS: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

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 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

Sources

SourceRecordLicence
CVE ListCVE-2025-31693 changed 2025-04-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-vx9m-rfxq-gr74 changed 2025-12-10CC-BY-4.0
Drupal Security TeamDRUPAL-CONTRIB-2025-022 changed 2026-09-10MIT
NVDCVE-2025-31693 changed 2026-07-16Public domain