# CVE-2025-31692: AI (Artificial Intelligence) - Critical - Remote Code Execution - SA-CONTRIB-2025-021

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2025-03-05T17:18:25.000Z
- Modified: 2026-09-10T03:45:05.773Z
- Also known as: GHSA-pwjq-fx3v-8f9r, DRUPAL-CONTRIB-2025-021
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: drupal

## Description

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.

(As written by CVE List.)

## Affected

- Drupal AI (Artificial Intelligence): from 0.0.0 before 1.0.5
- drupal/ai (Packagist): before 1.0.5
- drupal/ai (Packagist:https://packages.drupal.org/8): before 1.0.5
- artificial_intelligence_project artificial_intelligence: before 1.0.5

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`

## References

- <https://www.drupal.org/sa-contrib-2025-021> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-31692> (advisory)
- <https://git.drupalcode.org/project/ai> (package)

## Sources

- CVE List: [CVE-2025-31692](https://www.cve.org/CVERecord?id=CVE-2025-31692), CVE Terms of Use, modified 2025-04-03
- GitHub Advisory Database: [GHSA-pwjq-fx3v-8f9r](https://github.com/advisories/GHSA-pwjq-fx3v-8f9r), CC-BY-4.0, modified 2025-12-10
- Drupal Security Team: [DRUPAL-CONTRIB-2025-021](https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-021), MIT, modified 2026-09-10
- NVD: [CVE-2025-31692](https://nvd.nist.gov/vuln/detail/CVE-2025-31692), Public domain, modified 2026-07-16

---

Page: https://cve.day/CVE-2025-31692 · Whole record: https://cve.day/CVE-2025-31692.json · Rebuilt by cve.day 2026-11-25T22:58:55.756Z
