drupal/ai - SA-CONTRIB-2025-021
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/ai | < 1.0.5 | 1.0.5 |
| Drupal module | drupal/ai | < 1.0.5 | 1.0.5 |
References
- CVSS vector
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- Weakness (CWE)
CWE-78- Platform
- Composer, Drupal
- Package
drupal/ai- Disclosed
- 05.03.2025
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - GHSA-pwjq-fx3v-8f9r - CC BY 4.0
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-021 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/ai
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 10
- First → latest
- 01.2025 09.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 4
- Unrated 6
Disclosures per year
- 2025: 5
- 2026: 5
-
drupal/ai - SA-CONTRIB-2025-021 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.