CVE-2026-142405
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist:https://packages.drupal.org/8 | drupal/media_directories | >=3.0.0,<3.0.1 | 3.0.1 |
References
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.