SA-CONTRIB-2026-138: Critical severity drupal/key_auth vulnerability

Published Sep 9, 2026
·
Updated

This module enables you to add key-based authentication on a per-user basis. The module doesn't cache per user, potentially allowing an attacker to view another user's authentication keys, if the attacker has the same permissions. This vulnerability is mitigated by the fact that the site must have the dynamicpagecache module enabled.

Credit

Utkarsh Choudhary (sisyphus_ut)

Affected Software

1 affected componentFixes available
drupal/key_auth<2.2.4
2.2.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade drupal/key_auth to a version that resolves this vulnerability.

    Fixed in 2.2.4
  2. Compensating control

    Mitigation requires the site to have the 'dynamic_page_cache' module enabled (as stated: 'This vulnerability is mitigated by the fact that the site must have the dynamic_page_cache module enabled.').

Event History

Sep 9, 2026
Advisory Published
via Drupal·12:00 AM
Data Sourced
via Drupal·12:00 AM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which sites are exposed to this issue?

Exposure requires the dynamic_page_cache module to be enabled. The issue can allow users with the same permissions to see another user's authentication keys.

2

What level of access would an attacker need?

An attacker would need the same permissions as the user whose authentication keys they may be able to view.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203