CAS
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
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.
.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 −1README.md+5 −0cas.module+106 −32 fixcas.post_update.php+6 −0cas.services.yml+5 −0 fixsrc/Access/CasUserAccessCheck.php+6 −9 fix
- Critical · Access bypass · SA-CONTRIB-2026-356
- Moderately critical · Access bypass · SA-CONTRIB-2026-355
- Moderately critical · Improper authentication · SA-CONTRIB-2026-354