Drupal security updates, in plain English · Module

Simple OAuth (OAuth2) & OpenID Connect

27,587 sites report using it · on drupal.org · 1 security update explained here

This module introduces an authorisation server which can be configured to protect your Drupal instance with access tokens.

Below is every security update for Simple OAuth (OAuth2) & OpenID Connect that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Simple OAuth (OAuth2) & OpenID Connect

Moderately critical · 27,587 sites report using it · SA-CONTRIB-2026-242 · on drupal.org · Week of 21 October 2026

The module could cache a token's access rights in a way that let them be reused for another user's token. An ordinary account on the site could view restricted information and alter or add new data by gaining access rights they do not have.

  • Who could do thisOnly someone with a login on your site.
  • Does it apply to youAn attacker needs a token and a more privileged user's token with the same scopes must be used first.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.

Tell your developerUpdate Simple OAuth (OAuth2) & OpenID Connect to 6.1.3.

For developers: what the fix changed

The fix introduces a new cache context `oauth2_subject_roles` in `src/Cache/Oauth2SubjectRolesCacheContext.php` and applies it to `DecoratedUserRolesAccessPolicy` and `Oauth2AccessPolicy` to ensure that cached permissions vary by the token subject's full roles, preventing permission leakage between users with the same scopes.

6.1.2 to 6.1.3 1 commit, 6 files including 1 test.

  • simple_oauth.services.yml +7 −2 fix
  • src/Access/DecoratedUserRolesAccessPolicy.php +23 −5 fix
  • src/Access/Oauth2AccessPolicy.php +103 −18 fix
  • src/Access/TokenAuthUserResolver.php +45 −0 fix
  • src/Cache/Oauth2SubjectRolesCacheContext.php +75 −0 fix

Full diff, 6.1.2 to 6.1.3

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK membership bodies, charities and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.