Skip to content
OpenAdvisories
Unscored CVE-2026-142405 DRUPAL-CONTRIB-2026-351

This module organizes media entities into a directory structure. It provides a media browser for selecting, uploading, and managing media. …

Published Dec 2, 2026 · Updated Dec 2, 2026 · Assigned by DRUPAL

Description

This module organizes media entities into a directory structure. It provides a media browser for selecting, uploading, and managing media.

The media browser API doesn't sufficiently validate the values it saves on media items. A user who can create or edit media can make their media reference files and other content they don't have access to. This lets them access files they shouldn't be able to view, including private files that belong to other content on the site.

This vulnerability is mitigated by the fact that an attacker must have a role with the *Access Media Directories browser* permission, as well as permission to create or edit media.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/media_directories >= 3.0.0, < 3.0.1 3.0.1 DRUPAL-CONTRIB-2026-351

References