CVE-2026-54733
moodle-local_o365: Authentication bypass via unverified JWT signature in Teams SSO endpoint
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.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality high, integrity high, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.92%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 61.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Jul 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-347 Improper Verification of Cryptographic Signature
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| o365-moodle |
affected < 4.5.6 affected >= 5.0.0, < 5.0.5 affected >= 5.1.0, < 5.1.1
|
Is my server affected?
This CVE is in o365-moodle of microsoft, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Advisories
Other references
- https://github.com/microsoft/o365-moodle/commit/01b2d4c2e13b06a66557527084cbf9bace655944 github.com
- https://github.com/microsoft/o365-moodle/commit/258872f6e2011f4efa8ebb77d2898142a9435e89 github.com
- https://github.com/microsoft/o365-moodle/commit/d5596655f0baaee0f11aec2e10d6f36b0bd29220 github.com
- https://github.com/microsoft/o365-moodle/releases/tag/v20260423_m405 github.com
- https://github.com/microsoft/o365-moodle/releases/tag/v20260423_m500 github.com
- https://github.com/microsoft/o365-moodle/releases/tag/v20260423_m501 github.com
Source: the record CVE-2026-54733 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse