OS Command Injection Vulnerability in Drupal AI

MonitorFull system takeover over the network by a logged-in user.
6.6MEDIUM

CVE-2025-31693

Key Information:

Vendor

Drupal

CVE ID
CVE ID:
CVE-2025-31693
Vendor
CVE Published:
31 March 2025
Fixed in
Fixed in:
1.0.5

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version
AI (Artificial Intelligence) 0.0.0 to below 1.0.5 is vulnerable
Install AI (Artificial Intelligence) 1.0.5 or later
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach AI (Artificial Intelligence). Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (6.6).

What is CVE-2025-31693?

An OS Command Injection vulnerability in Drupal AI allows attackers to execute arbitrary operating system commands. This flaw, present in versions 0.0.0 through 1.0.4, arises from improper handling of special elements, posing a risk of unauthorized command execution. Users of affected versions are encouraged to upgrade to version 1.0.5 or later to mitigate this security issue.

References

Improper Check in Drupal

CVE-2026-136716
DrupalDrupal CoreπŸ˜„πŸ‘Ύ9.8CRITICAL

Missing Authentication in Drupal

CVE-2026-132165
DrupalDrupal CoreπŸ”₯πŸ˜„πŸ‘Ύ8.1HIGH

Reflection Injection Vulnerability in Drupal Core

CVE-2026-108097
DrupalDrupal Core8.1HIGH
View more Drupal vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
6.6
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Credit

Drew Webber (mcdruid)
Marcus Johansson (marcus_johansson)
Drew Webber (mcdruid)
Drew Webber (mcdruid)
.