moodle-local_o365: Authentication bypass via unverified JWT signature in Teams SSO endpoint
Summary
| CVE | CVE-2026-54733 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-16 16:19:13 UTC |
| Updated | 2026-07-16 17:46:34 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v4.0 9.3 CRITICAL from [email protected]
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.009150000 probability, percentile 0.562010000 (date 2026-07-20)
Problem Types: CWE-347 | CWE-347 CWE-347: Improper Verification of Cryptographic Signature
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 9.3 | CRITICAL | 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/E:X/C... |
| 4.0 | CNA | DECLARED | 9.3 | CRITICAL | 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 |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
NoneUser Interaction
NoneConfidentiality
HighIntegrity
HighAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Microsoft | O365-moodle | affected < 4.5.6 | Not specified |
| CNA | Microsoft | O365-moodle | affected >= 5.0.0, < 5.0.5 | Not specified |
| CNA | Microsoft | O365-moodle | affected >= 5.1.0, < 5.1.1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/microsoft/o365-moodle/commit/258872f6e2011f4efa8ebb77d2898142... | [email protected] | github.com | |
| github.com/microsoft/o365-moodle/security/advisories/GHSA-hqjh-93qv-47v5 | [email protected] | github.com | |
| github.com/microsoft/o365-moodle/releases/tag/v20260423_m500 | [email protected] | github.com | |
| github.com/microsoft/o365-moodle/commit/01b2d4c2e13b06a66557527084cbf9ba... | [email protected] | github.com | |
| github.com/microsoft/o365-moodle/releases/tag/v20260423_m405 | [email protected] | github.com | |
| github.com/microsoft/o365-moodle/commit/d5596655f0baaee0f11aec2e10d6f36b... | [email protected] | github.com | |
| github.com/microsoft/o365-moodle/releases/tag/v20260423_m501 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.