AI (Artificial Intelligence) - Moderately critical - Gadget Chain - SA-CONTRIB-2025-022
Project: AI (Artificial Intelligence)Date: 2025-March-05Security risk: Moderately critical 14 ∕ 25 AC:Complex/A:Admin/CI:All/II:All/E:Theoretical/TD:UncommonVulnerability: Gadget ChainAffected versions: <1.0.5Description: 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.Solution: Install the latest version:
- If you use the AI module for Drupal, upgrade to AI 1.0.5
Reported By:
- Drew Webber (mcdruid) of the Drupal Security Team
Fixed By:
- Marcus Johansson (marcus_johansson)
- Drew Webber (mcdruid) of the Drupal Security Team
Coordinated By:
- Drew Webber (mcdruid) of the Drupal Security Team