CVE-2026-102577 Moodle: ssrf risk in url downloader via ipv4-mapped ipv6 address bypass
MediumCVSS 4.3
EPSS 0.25%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
A flaw was found in Moodle. Incorrect handling of IPv4-mapped IPv6 addresses within the URL downloader's host-blocking logic allows an authenticated remote user to bypass blocked-host restrictions. By supplying a crafted URL, an attacker can induce the server to make requests to restricted destinations, leading to Server-Side Request Forgery (SSRF).
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| moodle | < 4.5.13; >= 5.0.0, < 5.0.9; >= 5.1.0, < 5.1.6; >= 5.2.0, < 5.2.2 | 4.5.13, 5.0.9, 5.1.6, 5.2.2 | Fixed |
| moodle/moodle | < 4.5.13; >= 5.0.0, < 5.0.9; >= 5.1.0, < 5.1.6; >= 5.2.0, < 5.2.2 | 4.5.13, 5.0.9, 5.1.6, 5.2.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moodle | >= 5.2.0, < 5.2.2 | 5.2.2 |
| moodle | >= 5.1.0, < 5.1.6 | 5.1.6 |
| moodle | >= 5.0.0, < 5.0.9 | 5.0.9 |
| moodle | < 4.5.13 | 4.5.13 |
| moodle/moodle | < 4.5.13 | 4.5.13 |
| moodle/moodle | >= 5.0.0, < 5.0.9 | 5.0.9 |
| moodle/moodle | >= 5.1.0, < 5.1.6 | 5.1.6 |
| moodle/moodle | >= 5.2.0, < 5.2.2 | 5.2.2 |
References
- git.moodle.org patch
- access.redhat.com third-party-advisory vdb-entry
- RHBZ#2543604 issue-tracking third-party-advisory
- moodle.org vendor-advisory
- ENISA EUVD EUVD-2026-89716 third-party-advisory