CVE-2026-84917: Drupal JSON:API Role Access Module Access Control Bypass

drupal/jsonapi_role_access Updated 03 Sep 2026

Summary

02/09/2026
Yes i
Unrated
Not published

CVE-2026-84917: This module enables you to restrict access to JSON:API routes based on specific user roles. Affects drupal/jsonapi_role_access versions < 2.0.2. Fixed in 2.0.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Drupal JSON:API Role Access module allows developers to restrict access to JSON:API routes based on specific user roles. This functionality is crucial for maintaining security and ensuring that only authorized users can access certain data endpoints. However, the module has a vulnerability that can be exploited if proper access controls are not enforced, potentially exposing sensitive data to unauthorized users.

Vulnerability Detail

The vulnerability arises from insufficient enforcement of access controls when a request mimics an XMLHttpRequest. This flaw allows attackers to bypass the intended restrictions, leading to unauthorized access to JSON:API routes. The implications of this vulnerability can be severe, as it may expose sensitive user data or application functionality to users who should not have access.

How To Fix

Minimum fixed version

2.0.2

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement additional server-side checks to validate the origin of requests and ensure that only legitimate XMLHttpRequests are processed. However, this is not a substitute for updating the module.

Conclusion

The CVE-2026-84917 vulnerability in the Drupal JSON:API Role Access module poses a significant risk by allowing unauthorized access to restricted routes. It is crucial to update to version 2.0.2 or later to mitigate this risk. Additionally, using tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for drupal/jsonapi_role_access →

Share this vulnerability

FAQ

The impact of this vulnerability is that unauthorized users may gain access to restricted JSON:API routes, potentially exposing sensitive data.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Versions of the Drupal JSON:API Role Access module prior to 2.0.2 are affected by this vulnerability.

Yes, the patch is available in version 2.0.2 of the module. Updating to this version will resolve the vulnerability.

If immediate updating is not possible, consider implementing additional access control measures on your server as a temporary workaround.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2.0.2

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback