CVE-2025-31693: Drupal AI Vulnerable to OS Command Injection

CVE-2025-31693 · Severity: low · CVSS 3.1 · Published 2025-04-01

Drupal AI Vulnerable to OS Command Injection

Technologies: drupal/ai (Packagist), Packagist:Https://Packages.Drupal.Org/8 Drupal/Ai. Vendors: Packagist, Packagist:Https://Packages.Drupal.Org/8.

Quick answers

Is CVE-2025-31693 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-31693 being exploited in the wild.
How severe is CVE-2025-31693?
Low severity, with a CVSS score of 3.1, published 1 April 2025.
Which products and versions are affected?
drupal/ai (Packagist) ECOSYSTEM:introduced=0,fixed=1.0.5; Packagist:Https://Packages.Drupal.Org/8 Drupal/Ai ECOSYSTEM:introduced=0,fixed=1.0.5.
Is there a fix for CVE-2025-31693?
Yes. drupal/ai (Packagist): upgrade to 1.0.5 or later; Packagist:Https://Packages.Drupal.Org/8 Drupal/Ai: upgrade to 1.0.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-31693?
Check whether you run drupal/ai (Packagist) or Packagist:Https://Packages.Drupal.Org/8 Drupal/Ai at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • drupal/ai (Packagist): upgrade to 1.0.5 or later
    composer require drupal/ai:^1.0.5
  • Packagist:Https://Packages.Drupal.Org/8 Drupal/Ai: upgrade to 1.0.5 or later

Affected products

  • drupal/ai (Packagist) ECOSYSTEM:introduced=0,fixed=1.0.5
  • Packagist:Https://Packages.Drupal.Org/8 Drupal/Ai ECOSYSTEM:introduced=0,fixed=1.0.5

Identifiers

  • CVE-2025-31693
  • DRUPAL-CONTRIB-2025-022
  • GHSA-vx9m-rfxq-gr74

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.