CVE-2026-54733CWE-347

moodle-local_o365: Authentication bypass via unverified JWT signature in Teams SSO endpoint

Critical · published July 16, 2026

CVSS v4.0
9.3
EPSS
1%
Percentile
58.5
In the wild
Unconfirmed
What it is

The Microsoft 365 and Microsoft Entra ID Plugins for Moodle provide Office 365 and Azure Active Directory integration for Moodle. Prior to 4.5.6, 5.0.5, and 5.1.1, the Microsoft Office 365 Integration plugin local_o365 Teams SSO endpoint sso_login.php base64-decodes a JWT payload and authenticates users from the upn claim without verifying the JWT signature, allowing an unauthenticated attacker to forge a token and obtain a Moodle session as an O365-authenticated user. This issue is fixed in versions 4.5.6, 5.0.5, and 5.1.1.

The record
Technical detail
CVSS v4.0
9.3 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00875 · 58.5th percentile
Weakness
CWE-347 · Improper Verification of Cryptographic Signature
Published
2026-07-16T14:52Z
EPSS history
Timeline
  • 16 JUL 14:52Z
    moodle-local_o365: Authentication bypass via unverified JWT signature in Teams SSO endpoint
    cvelistv5