Drupal Security Advisory
DRUPAL-CONTRIB-2026-206
Details
This module enables you to audit a Drupal site by generating reports about its content, entities, display modes and configuration.
The module doesn't sufficiently check entity access when rendering an entity through the display-mode example route. This allows an attacker to view unpublished or otherwise access-restricted content.
This vulnerability is mitigated by the fact that field-level access is still enforced, so fields that are themselves access-restricted (for example a user's email or password hash) are not disclosed.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist:https://packages.drupal.org/8 | drupal/xray_audit | All versions before 1.6.3 (fixed in 1.6.3) From 2.0.0 before 2.0.4 (fixed in 2.0.4) From 3.0.0 before 3.1.1 (fixed in 3.1.1) |