drupal/ai_file_to_text — security advisory
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.
- Products
- drupal/ai_file_to_text
- Affected versions
- Not specified
- Fixed versions
- 1.0.1
- CVEs
- CVE-2026-114554
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 16:07 UTC · Revision 1
Source evidence
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.
osv:DRUPAL-CONTRIB-2026-251
drupal/ai_file_to_text
Fixed versions: 1.0.1
Complete source record
{
"id": "967081488ca54d3564ccc6b2196798ed1831b2fe03aaefb4878709a0041c7e2a",
"url": "https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-251",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DRUPAL-CONTRIB-2026-251",
"summary": "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.",
"evidence": "osv:DRUPAL-CONTRIB-2026-251",
"products": [
{
"name": {
"value": "drupal/ai_file_to_text",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.0.1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DRUPAL-CONTRIB-2026-251",
"aliases": [
"CVE-2026-114554",
"DRUPAL-CONTRIB-2026-251"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.1"
}
],
"database_specific": {
"constraint": "<1.0.1"
}
}
],
"package": {
"name": "drupal/ai_file_to_text",
"purl": "pkg:composer/drupal/ai_file_to_text?repository_url=https:%2F%2Fpackages.drupal.org%2F8",
"ecosystem": "Packagist:https://packages.drupal.org/8"
},
"database_specific": {
"source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/ai_file_to_text/DRUPAL-CONTRIB-2026-251.json",
"affected_versions": "<1.0.1"
}
}
],
"modified": "2026-10-21T18:45:02.705177452Z",
"provider": "osv",
"references": [
"https://www.drupal.org/sa-contrib-2026-251"
]
},
"related_cves": [
{
"value": "CVE-2026-114554",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 399244,
"published_at": "2026-10-21T18:10:18+00:00"
}