Drupal security updates, in plain English · Module

REST & JSON API Authentication for Drupal

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

This module adds an extra layer of security to the data feeds on your website.

Below is every security update for REST & JSON API Authentication for Drupal 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.

REST & JSON API Authentication for Drupal

Moderately critical · 1,665 sites report using it · SA-CONTRIB-2026-182 · on drupal.org · Week of 23 September 2026

Anyone without logging in could bypass the security checks for some data feed requests. They could read private information from the data feed. They could not modify or delete any of that information.

  • Who could do thisAnyone visiting the site. No login needed.
  • Does it apply to youAny site using this module.
  • 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 REST & JSON API Authentication for Drupal to 3.2.0.

For developers: what the fix changed

The fix updates `RestAPI::applies()` in `src/Authentication/Provider/RestAPI.php` and `DisallowAPIRequests::check()` in `src/PageCache/DisallowAPIRequests.php` to use `$request->getPathInfo()` instead of `$request->getRequestUri()` for path matching. It also replaces a literal string check for `?_format=` with `$request->query->has('_format')` to prevent attackers from bypassing authentication by reordering query parameters.

Also in this release The release also added GitLab CI configuration and a new functional test.

3.1.0 to 3.2.0 1 commit, 4 files including 1 test.

  • .gitlab-ci.yml +18 −0
  • src/Authentication/Provider/RestAPI.php +8 −3 fix
  • src/PageCache/DisallowAPIRequests.php +2 −2 fix

Full diff, 3.1.0 to 3.2.0

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 charities, membership bodies 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.