High
Security advisory
In moodle, insufficient capability checks could lead to users with the ability to course restore adding additional capabilities to roles within that course. Versions affected: 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, 3.5 to 3.5.14 and earlier unsupported versions. This is fixed in moodle 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-25699
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:31 UTC · Revision 1
Source evidence
In moodle, insufficient capability checks could lead to users with the ability to course restore adding additional capabilities to roles within that course. Versions affected: 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, 3.5 to 3.5.14 and earlier unsupported versions. This is fixed in moodle 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10.
osv:CVE-2020-25699
Complete source record
{
"id": "ff65f379386ade2e2377b68c34ba1df1db88d58f8e4b52caaafd711465490c1a",
"url": "https://osv.dev/vulnerability/CVE-2020-25699",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-25699",
"summary": "In moodle, insufficient capability checks could lead to users with the ability to course restore adding additional capabilities to roles within that course. Versions affected: 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, 3.5 to 3.5.14 and earlier unsupported versions. This is fixed in moodle 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10.",
"evidence": "osv:CVE-2020-25699",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-25699",
"aliases": [
"BIT-moodle-2020-25699",
"CVE-2020-25699",
"GHSA-h77r-rp97-7rv4"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/moodle/moodle",
"type": "GIT",
"events": [
{
"introduced": "46574904afd39578fa4146bf1fc5c401ac680aa6"
},
{
"last_affected": "598064e4d9958b22e8b8c81016440b1aea48771e"
},
{
"introduced": "89457b26d192c06325bb6782b85d1025dafbefe9"
},
{
"last_affected": "f6e37fe19539b61afd3beb8685ffbff028e4ddf5"
},
{
"introduced": "f968cd44e8ee5d54b1bc56823040ff770dbf18af"
},
{
"last_affected": "b21d86f807d355a3773a9b084d2ddb80c5e6b7ec"
},
{
"introduced": "500c131eb49771e36f68d151dfa37fef5a9bc2df"
},
{
"last_affected": "ccd4ef8ddd03d98b84e3231866b8b1e024dab1db"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.5.0"
},
{
"last_affected": "3.5.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.7.0"
},
{
"last_affected": "3.7.8"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.8.0"
},
{
"last_affected": "3.8.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.9.0"
},
{
"last_affected": "3.9.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3.7.8",
"v3.9.2",
"v3.8.5",
"v3.5.14",
"v3.5.13",
"v3.7.7",
"v3.8.4",
"v3.9.1",
"v3.9.0",
"v3.8.3",
"v3.7.6",
"v3.5.12",
"v3.7.5",
"v3.8.2",
"v3.5.11",
"v3.5.10",
"v3.8.1",
"v3.7.4",
"v3.8.0",
"v3.7.3",
"v3.5.9",
"v3.7.2",
"v3.5.8",
"v3.7.0",
"v3.5.7",
"v3.7.1",
"v3.5.6",
"v3.5.5",
"v3.5.4",
"v3.5.3",
"v3.5.2",
"v3.5.1",
"v3.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25699.json"
}
}
],
"modified": "2026-10-24T10:30:54.385252724Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/",
"https://moodle.org/mod/forum/discuss.php?d=413936",
"https://bugzilla.redhat.com/show_bug.cgi?id=1895425"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "32"
},
{
"last_affected": "32"
},
{
"introduced": "33"
},
{
"last_affected": "33"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-25699",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438151,
"published_at": "2020-11-19T17:15:12.67+00:00"
}