# CVE-2026-54733: moodle-local_o365: Authentication bypass via unverified JWT signature in Teams SSO endpoint

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-01)
- Published: 2026-07-16T14:52:03.389Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- microsoft o365-moodle: < 4.5.6; >= 5.0.0, < 5.0.5; >= 5.1.0, < 5.1.1

## References

- <https://github.com/microsoft/o365-moodle/security/advisories/GHSA-hqjh-93qv-47v5>
- <https://github.com/microsoft/o365-moodle/commit/01b2d4c2e13b06a66557527084cbf9bace655944>
- <https://github.com/microsoft/o365-moodle/commit/258872f6e2011f4efa8ebb77d2898142a9435e89>
- <https://github.com/microsoft/o365-moodle/commit/d5596655f0baaee0f11aec2e10d6f36b0bd29220>
- <https://github.com/microsoft/o365-moodle/releases/tag/v20260423_m405>
- <https://github.com/microsoft/o365-moodle/releases/tag/v20260423_m500>
- <https://github.com/microsoft/o365-moodle/releases/tag/v20260423_m501>

## Sources

- CVE List: [CVE-2026-54733](https://www.cve.org/CVERecord?id=CVE-2026-54733), CVE Terms of Use, modified 2026-07-16
- NVD: [CVE-2026-54733](https://nvd.nist.gov/vuln/detail/CVE-2026-54733), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-54733 · Whole record: https://cve.day/CVE-2026-54733.json · Rebuilt by cve.day 2026-11-25T22:59:28.392Z
