Intel

AIKIDO-2026-75604

drupal/xray_audit is vulnerable to Access bypass

CVE-2026-96389Published Oct 8, 2026
October 8, 2026

52

CVE Score

Medium

Access bypass

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.

How do I fix this?

Upgrade the drupal/xray_audit library to the patch version.

Who does this affect?

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

Versions

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

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.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea