Problem/Motivation
This is a security issue in an external library.
SAML PHP Toolkit released new versions on December 9, 2025, to force an upgrade to xmlseclibs, which was vulnerable to CVE-2025-66475.
Proposed resolution
The SAML SP module currently requires SAML PHP Toolkit versions greater than 3.7.0 or 4.2.0. We should change those minimums to 3.8.1 or 4.3.1.
Remaining tasks
Before merging we should verify that changes in SAML PHP Toolkit versions 3.8.0 and 4.3.0 don’t break anything this module does. It’s unlikely to be a problem (I hope everyone using SAML SP has already updated those libraries), but I know we have done some work around validUntil, so it’s worth exploring exactly what changed.
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork saml_sp-3574865
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jproctorComment #4
jproctorLooks like we got caught up on all the
validUntilchanges for 3.8.0 and 4.3.0 last May in #3526580: Add $ignoreValidUntil, as onelogin has updated the Settings base class. and released already.I’ve tried 3.8.1 and 4.3.1 in D9 (PHP 7.3), D10 (PHP 8.4), D11 (PHP 8.4) and haven’t run across any problems with my config, but ugh we really gotta get some tests in this code sometime. Gonna let this sit in “Needs review“ until maybe thursday 26 Feb to encourage anyone else who wants to look, then merge for a new release.
Comment #5
jproctor