Intel

AIKIDO-2026-75604

drupal/xray_audit is vulnerable to Access bypass

Access bypassCVE-2026-96389 Published 5 days ago

52

Medium Risk

This Affects:

PHPdrupal/xray_audit
1.3.0 - 1.6.2
Fixed in 1.6.3
2.0.0 - 2.0.3
Fixed in 2.0.4
3.0.0 - 3.1.0
Fixed in 3.1.1
Are you affected? Scan for Free

TL;DR

The Xray Audit module previews an entity in a display mode through the display_mode_example route (/xray-audit/{entity_type}/{entity_id}/{view_mode}/example). Affected versions authorize that route with only the access content permission and render the requested entity without an entity view-access check. An attacker can therefore view unpublished or otherwise access-restricted content. Field-level access is still enforced, so fields that are themselves access-restricted, such as a user's email or password hash, are not disclosed. The fix requires the xray_audit access permission and enforces entity view access before the example is rendered.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

drupal/xray_audit is vulnerable to Access bypass in versions 1.3.0 - 1.6.2, 2.0.0 - 2.0.3 and 3.0.0 - 3.1.0.

How to fix this

Upgrade the drupal/xray_audit library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform