DRUPAL-CONTRIB-2025-022
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 1.0.5Upgrade drupal/ai to 1.0.5 or newer (ecosystem packagist:https://packages.drupal.org/8).