Advisory

GHSA-hcm6-q6pc-xfhm

Also known as: BIT-moodle-2025-67856, CVE-2025-67856

Summary

Moodle has an authorization logic flaw

Details

A flaw was found in Moodle. An authorization logic flaw, specifically due to incomplete role checks during the badge awarding process, allowed badges to be granted without proper verification. This could enable unauthorized users to obtain badges they are not entitled to, potentially leading to privilege escalation or unauthorized access to certain features.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-03 12:30 UTC
Modified
2026-02-12 09:26 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 0, fixed 4.1.22 (ecosystem)

Fixed versions

4.1.22

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 4.4.0-beta, fixed 4.4.12 (ecosystem)

Fixed versions

4.4.12

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 4.5.0-beta, fixed 4.5.8 (ecosystem)

Fixed versions

4.5.8

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 5.0.0-beta, fixed 5.0.4 (ecosystem)

Fixed versions

5.0.4

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 5.1.0-beta, fixed 5.1.1 (ecosystem)

Fixed versions

5.1.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences