CVE-2025-32045 Moodle: hidden grades shown to users without permission on some grade reports

Medium 5.3 Published Updated

Attackers can view hidden grades in Moodle reports without proper permissions due to insufficient capability checks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-32045?

CVE-2025-32045 is a medium-severity missing authorization vulnerability in Moodle Moodle, published on 25 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw has been identified in Moodle where insufficient capability checks in certain grade reports allowed users without the necessary permissions to access hidden grades.

Weakness: CWE-862

Which versions are affected by CVE-2025-32045?

9 open source packages ship an affected version, including moodle/moodle and moodle. It affects 1 product.

PackageAffectedFixed in
moodle/moodle PackagistAll versions4.1.17
moodle/moodle PackagistAll versions4.1.17
moodle/moodle PackagistFrom 4.3.0-beta4.3.11
moodle/moodle PackagistFrom 4.3.0-beta4.3.11
moodle/moodle PackagistFrom 4.4.0-beta4.4.7
moodle/moodle PackagistFrom 4.4.0-beta4.4.7
3 more packages
moodle/moodle PackagistFrom 4.5.0-beta4.5.3
moodle/moodle PackagistFrom 4.5.0-beta4.5.3
moodle BitnamiAll versions4.1.17, 4.3.11, 4.4.7, 4.5.3

Products include Moodle Moodle.

How do I fix CVE-2025-32045?

Upgrade moodle/moodle to a fixed version for your release line: 4.1.17, 4.3.11, 4.4.7 or 4.5.3.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-32045 being exploited?

There is no known exploitation of CVE-2025-32045 in the wild and no public exploit code.

All Moodle Moodle vulnerabilities

Sources

Also known as BIT-moodle-2025-32045, GHSA-8m7c-hm88-2p97, UBUNTU-CVE-2025-32045.

Is CVE-2025-32045 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free