SA-CONTRIB-2026-271: Critical severity composer/drupal/ai vulnerability

Published Oct 28, 2026
·
Updated

This module provides a framework for integrating AI providers and features into Drupal. Audio for every speech-to-text request is written to the same file in the temporary directory and does not delete it afterwards. As a result, an attacker who can read the site's temporary directory could get the audio that another user sent for transcription. This vulnerability is mitigated by the fact that the attacker needs read access to the temporary directory, either through the server (for example a shared hosting account) or through a module or custom code that exposes temporary files to other users. Drupal core's system.temporary route only serves temporary files to the user who owns them.

Credit

Marcus Johansson (marcus_johansson)

Affected Software

1 affected componentFixes available
composer/drupal/ai<1.5.2, <1.4.11, <1.5.2, <1.4.11
1.5.21.4.111.5.21.4.11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/ai to a version that resolves this vulnerability.

    Fixed in 1.5.2Fixed in 1.4.11Fixed in 1.5.2Fixed in 1.4.11

Event History

Oct 28, 2026
Advisory Published
via Drupal·12:00 AM
Data Sourced
via Drupal·12:00 AM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Sites are exposed when an attacker can read the site's temporary directory, such as on a shared server environment or through a module or custom code that makes temporary files available to other users.

2

Does Drupal core's temporary-file route expose the recorded audio to other users?

No. Drupal core's system.temporary route serves temporary files only to the user who owns them.

3

What does an attacker need to access another user's transcription audio?

The attacker needs read access to the site's temporary directory. The issue results from all speech-to-text audio being written to the same temporary file and not being deleted afterward.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203