{"id":"CVE-2025-67856","state":"PUBLISHED","title":"Moodle: moodle: privilege escalation via incomplete role checks in badge awarding","description":"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.","publishedAt":"2026-02-03T10:52:19.744Z","updatedAt":"2026-02-26T21:43:57.825Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"fedora"},"assigner":"fedora","products":["moodle"],"affected":[{"packageName":"moodle","defaultStatus":"unaffected","versions":[{"version":"4.1.0","status":"affected","lessThan":"4.1.22","versionType":"semver"},{"version":"4.4.0","status":"affected","lessThan":"4.4.12","versionType":"semver"},{"version":"4.5.0","status":"affected","lessThan":"4.5.8","versionType":"semver"},{"version":"5.0.0","status":"affected","lessThan":"5.0.4","versionType":"semver"},{"version":"5.1.0","status":"affected","lessThan":"5.1.1","versionType":"semver"}],"collectionURL":"https://github.com/moodle/moodle/"}],"references":["https://access.redhat.com/security/cve/CVE-2025-67856","https://bugzilla.redhat.com/show_bug.cgi?id=2423864"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/67xxx/CVE-2025-67856.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-67856","state":"PUBLISHED","datePublished":"2026-02-03T10:52:19.744Z","dateUpdated":"2026-02-26T21:43:57.825Z","assignerShortName":"fedora","assignerOrgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateReserved":"2025-12-12T13:00:24.330Z"},"containers":{"cna":{"title":"Moodle: moodle: privilege escalation via incomplete role checks in badge awarding","descriptions":[{"lang":"en","value":"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."}],"affected":[{"packageName":"moodle","defaultStatus":"unaffected","versions":[{"version":"4.1.0","status":"affected","lessThan":"4.1.22","versionType":"semver"},{"version":"4.4.0","status":"affected","lessThan":"4.4.12","versionType":"semver"},{"version":"4.5.0","status":"affected","lessThan":"4.5.8","versionType":"semver"},{"version":"5.0.0","status":"affected","lessThan":"5.0.4","versionType":"semver"},{"version":"5.1.0","status":"affected","lessThan":"5.1.1","versionType":"semver"}],"collectionURL":"https://github.com/moodle/moodle/"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-67856","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2423864","name":"RHBZ#2423864","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Moderate","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"format":"CVSS"}],"providerMetadata":{"shortName":"fedora","orgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateUpdated":"2026-02-03T10:52:19.744Z"},"datePublic":"2025-12-15T04:00:00.000Z","timeline":[{"lang":"en","time":"2025-12-19T13:35:23.101Z","value":"Reported to Red Hat."},{"lang":"en","time":"2025-12-15T04:00:00.000Z","value":"Made public."}],"credits":[{"lang":"en","value":"Red Hat would like to thank Stefan Hanauska for reporting this issue."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-03T15:42:42.449880Z","id":"CVE-2025-67856","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","type":"CWE","lang":"en","description":"CWE-863 Incorrect Authorization"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T21:43:57.825Z"}}]}}}