Unrated

drupal/ai_file_to_text - SA-CONTRIB-2026-251

  • Disclosed: 21.10.2026
  • Updated: 22.10.2026 18:07

The AI File to Text module extracts text from uploaded documents, including
Word, PDF, OpenDocument, CSV, Markdown and plain text files, and exposes that extraction to AI agents and automators as a tool.

The module does not sufficiently check whether the current user is permitted
to view a file before extracting its contents. This allows the contents of files the user could not otherwise download, including files held in the private file system,
to be disclosed.

This vulnerability is mitigated by the fact that an attacker must have a role
with permission to invoke AI tools, for example through an agent or the AI API
Explorer.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/ai_file_to_text < 1.0.1 1.0.1
Drupal module drupal/ai_file_to_text < 1.0.1 1.0.1

References

CVSS score -
Weakness (CWE)
-
Platform
Composer, Drupal
Package
drupal/ai_file_to_text
Disclosed
21.10.2026
Updated
22.10.2026 18:07

Sources and licenses

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

Vulnerability history: drupal/ai_file_to_text

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

This is the only known vulnerability of this package.

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.