Medium

drupal/ai - SA-CONTRIB-2025-003

  • Disclosed: 15.01.2025
  • Updated: 11.10.2026 12:18

The Drupal AI module provides a framework for easily integrating Artificial Intelligence on any Drupal site using any kind of AI (from multiple vendors). The sub-modules AI Chatbot and AI Assistants API allow users to interact with the Drupal site via a 'chat' interface.

The AI Chatbot module doesn't protect against Cross Site Request Forgeries in the Deepchat chatbot. This could allow an attacker to craft a scenario that can forge a request on behalf of a privileged user. When combined with the AI Search submodule, this could result in the AI Assistant exposing indexed data that the attacker should not have access to. When combined with the external AI Agent module, this could result in the AI Assistant exposing and allowing modification of site configuration of fields, content types, and vocabularies. Sites with custom built agents, with more privileged access, could be at greater risk from an exploit of this vulnerability.

This vulnerability is mitigated by:

  • The targeted user needs to have an active session with a role with the "access deepchat api" permission and permission to assistants.
  • To extract data, the target site must have a permissive CORS policy allowing the attacking site to read the result of a cross origin request.
  • To modify data, the targeted user must have permission to use the configured agents.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/ai >= 1.0.0, < 1.0.2 1.0.2
Drupal module drupal/ai >= 1.0.0, < 1.0.2 1.0.2

References

CVSS score 8.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-352
Platform
Composer, Drupal
Package
drupal/ai
Disclosed
15.01.2025
Updated
11.10.2026 12:18

Sources and licenses

OSV / GitHub Advisory Database - GHSA-9w85-x5hg-fr66 - CC BY 4.0

OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-003 - CC BY-SA 2.0; code GPL-2.0-or-later

Vulnerability history: drupal/ai

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (10) in the archive
Total entries
10
First → latest
01.2025 09.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 4
  • Unrated 6

Disclosures per year

  1. 2025: 5
  2. 2026: 5
Severity:
  1. Unrated CVE-2026-84912 < 1.3.13, >= 1.4.0, < 1.4.8 1.3.13, 1.4.8
  2. Unrated CVE-2026-84911 < 1.3.13, >= 1.4.0, < 1.4.8 1.3.13, 1.4.8
  3. Unrated CVE-2026-13235 < 1.2.17, >= 1.3.0, < 1.3.8, >= 1.4.0, < 1.4.3 1.2.17, 1.3.8, 1.4.3
  4. Unrated CVE-2026-13234 < 1.2.17, >= 1.3.0, < 1.3.8, >= 1.4.0, < 1.4.3 1.2.17, 1.3.8, 1.4.3
  5. Unrated CVE-2026-3573 < 1.1.11, >= 1.2.0, < 1.2.12 1.1.11, 1.2.12
  6. Unrated CVE-2025-13981 < 1.0.7, >= 1.1.0, < 1.1.7, >= 1.2.0, < 1.2.4 1.0.7, 1.1.7, 1.2.4
  7. Medium · 6.6 CVE-2025-31693 < 1.0.5 1.0.5
  8. Medium CVE-2025-31692 < 1.0.5 1.0.5
  9. Medium · 8.2 CVE-2025-31678 < 1.0.3 1.0.3
  10. drupal/ai - SA-CONTRIB-2025-003 this entry
    Medium · 8.8 CVE-2025-31677 >= 1.0.0, < 1.0.2 1.0.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.