# CVE-2026-107311: Drupal Permissions by Term access control bypass in JSON:API

Source: https://junglewise.ai/threats/cve-2026-107311-drupal-contrib-2026-214-this-module-enables-you-to-restrict-view  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-30. Updated: 2026-10-09  
License: CC BY 4.0 with a link back

CVE-2026-107311 · Severity: info · Published 2026-10-30

Permissions by Term is a Drupal module that restricts content access based on taxonomy categories. When configured in Permission mode, the module fails to properly validate access rights when content references a deleted taxonomy term accessed through the JSON:API endpoint, potentially exposing restricted content to unauthorized users.

Technologies: [Packagist:Https://Packages.Drupal.Org/8 Drupal/Permissions By Term](https://junglewise.ai/threats/technologies/drupal-permissions-by-term). Vendors: [Drupal](https://junglewise.ai/threats/vendors/drupal), [Packagist:Https://Packages.Drupal.Org/8](https://junglewise.ai/threats/vendors/packagist-https-packages-drupal-org-8).

## Quick answers

**Is CVE-2026-107311 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-107311 being exploited in the wild.

**How severe is CVE-2026-107311?** Informational severity, published 30 October 2026.

**Which products and versions are affected?** Drupal Permissions by Term <3.1.41; Packagist:Https://Packages.Drupal.Org/8 Drupal/Permissions By Term ECOSYSTEM:introduced=0,fixed=3.1.41.

**Is there a fix for CVE-2026-107311?** Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Permissions By Term: upgrade to 3.1.41 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-107311 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-107311?** Check whether you run Drupal Permissions by Term or Packagist:Https://Packages.Drupal.Org/8 Drupal/Permissions By Term at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Permissions By Term: upgrade to 3.1.41 or later

## Technical details

The module insufficiently validates access rights in Permission mode when a node containing a reference to a deleted taxonomy term is accessed via JSON:API. This is an information disclosure vulnerability requiring specific preconditions: Permission mode configuration, a deleted term reference, and JSON:API access. A fix is available in version 3.1.41.

## Affected products

- Drupal Permissions by Term <3.1.41

## Identifiers

- CVE-2026-107311
- DRUPAL-CONTRIB-2026-214

## Timeline

- 2026-10-07: disclosed

## References

- [https://www.drupal.org/u/ayrmax](https://www.drupal.org/u/ayrmax)
- [https://www.drupal.org/sa-contrib-2026-214](https://www.drupal.org/sa-contrib-2026-214)

## Related threats

- [DRUPAL-CONTRIB-2022-056 - This module enables you to set content permissions based on taxonomy terms. The module…](https://junglewise.ai/threats/drupal-contrib-2022-056-this-module-enables-you-to-set-content-bf90fb7a)
- [DRUPAL-CONTRIB-2022-055 - This module enables you to restrict content via taxonomy terms and related permissions. The…](https://junglewise.ai/threats/drupal-contrib-2022-055-this-module-enables-you-to-restrict-content-via-333d66e7)
- [DRUPAL-CONTRIB-2019-095 - The Permissions by Term module extends Drupal by functionality for restricting access to single nodes via taxonomy terms. The module doesn'](https://junglewise.ai/threats/drupal-contrib-2019-095-the-permissions-by-term-module-extends-drupal-81cd77f6)
- [DRUPAL-CONTRIB-2019-068 - This module enables you to control access to content based on taxonomy terms. The module…](https://junglewise.ai/threats/drupal-contrib-2019-068-this-module-enables-you-to-control-access-to-9403364f)
- [DRUPAL-CONTRIB-2017-082 - The Permissions by Term module extends Drupal by adding functionality for restricting access…](https://junglewise.ai/threats/drupal-contrib-2017-082-the-permissions-by-term-module-extends-drupal-7959522f)
