Drupal security updates, in plain English · Module

CAS

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

This module allows users to log into the website using a central authentication system.

Below is every security update for CAS 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.

CAS

Critical · 27,748 sites report using it · 3 security fixes · Week of 2 December 2026

3 security fixes in one update. CAS fixed 3 separate security bugs at once: 2 access bypass, 1 improper authentication. One update covers all of them. The most serious, SA-CONTRIB-2026-356, is explained here and the full list is at the end of the card.

The module does not properly check its own settings when allowing users to log in or reset passwords through data feeds. Anyone without logging in could bypass the login process. This could allow them to view hidden data or change information on the site.

  • 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 critical. Cyber Essentials expects a fix within 14 days. Do it this week.

Tell your developerUpdate CAS to 3.1.2, 2.3.3 or 3.0.2, whichever branch you are on.

For developers: what the fix changed

This release carries 3 security fixes. The summary below is for SA-CONTRIB-2026-356, the most serious of them.

The fix implements `hook_entity_field_access` in `cas.module` to deny editing of password and email fields via JSON and REST APIs. It also decorates the `user.auth` service with `CasUserAuthentication` to block password logins across all routes, and adds `hook_mail_alter` to suppress password reset emails for CAS users.

Also in this release The release updates DDEV tooling, adds a post-update hook to clear caches, and includes new automated tests.

3.1.1 to 3.1.2 2 commits, 19 files including 5 tests.

  • .cspell-project-words.txt +2 −0
  • .ddev/addon-metadata/ddev-drupal-contrib/manifest.yaml +2 −2
  • .ddev/commands/web/expand-composer-json +1 −1
  • .ddev/commands/web/phpcbf +1 −1
  • .ddev/commands/web/phpcs +1 −1
  • .ddev/commands/web/phpstan +8 −5
  • .ddev/commands/web/symlink-project +6 −1
  • README.md +5 −0
  • cas.module +106 −32 fix
  • cas.post_update.php +6 −0
  • cas.services.yml +5 −0 fix
  • src/Access/CasUserAccessCheck.php +6 −9 fix

Full diff, 3.1.1 to 3.1.2 · Full diff, 2.3.2 to 2.3.3 · Full diff, 3.0.1 to 3.0.2

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

All 3 security bugs this update fixes, worst first. Each link is the drupal.org notice for that one.

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.