SA-CONTRIB-2026-290: Critical severity composer/drupal/oauth2_token_manager vulnerability

Published Oct 28, 2026
·
Updated

This module lets you manage system-wide OAuth2 access and refresh tokens for Box, Quip, and Slack integrations through Drush and an OAuth2 validation callback. The module doesn't restrict access to its OAuth2 routes, allowing an an anonymous visitor to potentially connect the site's integration to an account they control. This vulnerability is mitigated by the fact that an attacker must obtain the OAuth2 state value from a previous system token initialization (for example, from the server access logs).

Credit

Francesco Pesenti (peximo)

Affected Software

1 affected componentFixes available
composer/drupal/oauth2_token_manager<8.x-1.2
8.x-1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/oauth2_token_manager to a version that resolves this vulnerability.

    Fixed in 8.x-1.2

Event History

Oct 28, 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

What does an attacker need to exploit this issue?

The attacker needs the OAuth2 state value from a previous system token initialization. The advisory gives server access logs as an example location where that value could be obtained.

2

Are anonymous visitors affected by the missing access restriction?

Yes. The OAuth2 routes do not restrict access, so an anonymous visitor could potentially connect the site's integration to an account they control if they have the required state value.

3

What should be reviewed to assess whether state values may have been exposed?

Review server access logs for OAuth2 state values generated during system token initialization. The advisory identifies those logs as a possible source an attacker could use to obtain the required value.

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