{"id":"CVE-2025-31693","published":"2025-03-31T21:51:17Z","modified":"2025-04-03T17:24:33Z","title":"AI (Artificial Intelligence) - Moderately critical - Gadget Chain - SA-CONTRIB-2025-022","vendor":"Drupal","product":"AI (Artificial Intelligence)","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01219,"percentile":0.68565,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2025-022","tags":[]}],"priority":{"score":18.3,"factors":[{"name":"EPSS percentile","points":13.71},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"drupal","affectedVersions":[{"vendor":"Drupal","product":"AI (Artificial Intelligence)","versions":[">= 0.0.0, < 1.0.5"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-03T17:23:57.837085Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"drupal/ai","vulnerableRanges":["<1.0.5"],"patched":["1.0.5"],"from":["GHSA-vx9m-rfxq-gr74","DRUPAL-CONTRIB-2025-022"],"provenance":"source"}],"summary":{"text":"The flaw is an OS command injection weakness in the AI (Artificial Intelligence) module for Drupal, where special elements in input are not properly neutralized before being passed to an operating system command. An attacker able to reach the affected module can inject commands to run on the host, but this requires high-privilege authentication and a high-complexity attack condition, with no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:07Z"},"euvd":{"id":"EUVD-2025-9031","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-31677","published":"2025-03-31","fixed":"1.0.2","kev":false},{"cve":"CVE-2025-31678","published":"2025-03-31","fixed":"1.0.3","kev":false,"link":{"from":"CVE-2025-31678","to":"CVE-2025-31693","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:drupal/ai","fromFixed":"1.0.3","toFixed":"1.0.5","daysApart":0}]}},{"cve":"CVE-2025-31692","published":"2025-03-31","fixed":"1.0.5","kev":false},{"cve":"CVE-2025-31693","published":"2025-03-31","fixed":"1.0.5","kev":false}],"package":"Packagist:drupal/ai"}}