# Moodle has a time restriction bypass

Advisory record · `GHSA-w29j-8phw-ffjf`

- **Identifiers:** `GHSA-w29j-8phw-ffjf` · `BIT-moodle-2025-62401` · `CVE-2025-62401` · `PKSA-2154-mt94-234t`
- **State:** Confirmed
- **Severity:** CVSS 5.4 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-285](https://cwe.mitre.org/data/definitions/285.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 23 Oct 2025
- **Updated:** 18 Nov 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 23 Oct 2025, 12:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `moodle/moodle` (Packagist): affected `>=5.0.0-beta, <5.0.3 || >=4.5.0-beta, <4.5.7 || >=4.2.0-beta, <4.4.11 || <4.1.21`; fixed in `5.0.3`, `4.5.7`, `4.4.11`, `4.1.21`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Moodle (moodle/moodle) versions before 4.1.21, from 4.2.0-beta before 4.4.11, from 4.5.0-beta before 4.5.7, and from 5.0.0-beta before 5.0.3 are affected. The source gives few details, but a student could bypass the time restriction on a timed assignment and get more time than allowed to complete it. Upgrade to 4.1.21, 4.4.11, 4.5.7, 5.0.3 or later, as applicable.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.4 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`, from CNA (fedora)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0023, the 14th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 23 Oct 2025, 12:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-62401)
- 31 Oct 2026, 14:26 UTC: First seen by agentprime
- 31 Oct 2026, 14:26 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-w29j-8phw-ffjf)

## Sources

- [GitHub Advisory Database: GHSA-w29j-8phw-ffjf](https://github.com/advisories/GHSA-w29j-8phw-ffjf)
- [OSV: GHSA-w29j-8phw-ffjf](https://osv.dev/vulnerability/GHSA-w29j-8phw-ffjf)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-62401>
- <https://github.com/moodle/moodle/commit/78a3fe6c618676dfc53ea538abbfe35e60674eeb>
- <https://access.redhat.com/security/cve/CVE-2025-62401>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2404434>
- <https://github.com/moodle/moodle>
- <https://moodle.org/mod/forum/discuss.php?d=470390>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-w29j-8phw-ffjf>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-w29j-8phw-ffjf/>. Everything for agents: <https://agentprime.io/llms.txt>.
