drupal/ai - SA-CONTRIB-2026-270
This module provides a framework for integrating Drupal with AI providers. Its AI Search submodule provides a Search API backend that stores content in a vector database for semantic search.
The AI Search submodule has always been marked as 'experimental' but more importantly is deprecated. You may wish to use this as an opportunity to move to the standalone AI Search which is a drop-in replacement and target of all new development. It also had the same vulnerability.
The AI Search backend checks access to each search result for the current user, but this is not taken into account when Search API caches the results of a view. As a result, cached search results, including titles and other displayed fields of unpublished or access-restricted content, can be shown to users who do not have access to that content in some configurations.
This vulnerability is mitigated by the fact that:
- The AI Search submodule must be enabled and used with a Search API view.
- The view must use Search API result caching ("Search API (time-based)", "Search API (tag-based)" or "Search API (time and tag-based)"). The default, "Search API (none)", is not affected.
- A user with access to the restricted content must have run the same search within the cache lifetime.
Retrieval-augmented generation (RAG) tools, AI Assistant RAG actions and custom code running Search API queries are not affected.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/ai | < 1.4.11, >= 1.5.0, < 1.5.2 | 1.4.11, 1.5.2 |
| Drupal module | drupal/ai | < 1.4.11, >= 1.5.0, < 1.5.2 | 1.4.11, 1.5.2 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/ai- Disclosed
- 28.10.2026
- Updated
- 29.10.2026 01:17
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-270 - 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.
- Total entries
- 18
- First → latest
- 01.2025 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 4
- Unrated 14
Disclosures per year
- 2025: 5
- 2026: 13
-
drupal/ai - SA-CONTRIB-2026-270 this entry
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.