Project machine name: 
ai
Date: 
2026-October-28
Vulnerability: 
Access bypass
Affected versions: 
<1.4.11 || >=1.5.0 <1.5.2
CVE IDs: 
CVE-2026-118550
Description: 

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.

Solution: 

Install the latest version:

  • If you use the AI module 1.5.x with the AI Search submodule, upgrade to AI 1.5.2
  • If you use the AI module 1.4.x with the AI Search submodule, upgrade to AI 1.4.11
  • If you use the AI module 1.3.x with the AI Search submodule, upgrade to AI 1.5.2 or AI 1.4.11 as the 1.3.x branch is now unsupported.
  • If you use the AI Search 1.3.x standalone module, upgrade to AI 1.3.0-alpha6
  • If you use the AI Search 2.0.x standalone module, upgrade to AI 2.0.0-alpha3
Coordinated By: