{"id":"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.\n\nThe 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.\n\nThis 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.\n\nThe AI module is included in Drupal CMS.","aliases":["CVE-2025-31693","GHSA-vx9m-rfxq-gr74"],"modified":"2026-09-10T03:45:03.244697810Z","published":"2025-03-05T17:27:19Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2025-022"}],"affected":[{"package":{"name":"drupal/ai","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/ai?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5"}],"database_specific":{"constraint":"\u003c1.0.5"}}],"database_specific":{"affected_versions":"\u003c1.0.5","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/ai/DRUPAL-CONTRIB-2025-022.json"}}],"schema_version":"1.9.0","credits":[{"name":"Drew Webber (mcdruid)","contact":["https://www.drupal.org/u/mcdruid"]}]}