DRUPAL-CONTRIB-2026-270

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/ai/DRUPAL-CONTRIB-2026-270.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-270
Aliases
  • CVE-2026-118550
Published
2026-10-28T17:09:50Z
Modified
2026-10-28T22:30:02Z
Summary
[none]
Details

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.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/ai

Package

Name
drupal/ai
Purl
pkg:composer/drupal/ai?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.11
Database specific
Show details
{
    "constraint":  "<1.4.11"
}
Type
ECOSYSTEM
Events
Introduced
1.5.0
Fixed
1.5.2
Database specific
Show details
{
    "constraint":  ">=1.5.0 <1.5.2"
}

Database specific

affected_versions
"<1.4.11 || >=1.5.0 <1.5.2"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/ai/DRUPAL-CONTRIB-2026-270.json"