{"id":"CVE-2026-102585","aliases":["CVE-2026-102585","BIT-MOODLE-2026-102585"],"related":[],"kind":"vulnerability","state":"published","title":"Moodle: group validation missing when enrolling user to course","summary":"A flaw was found in Moodle. When enrolling a user into a course while assigning them to a group, the application does not verify whether the selected group actually belongs to that course. An authenticated user with teacher privileges could exploit this flaw to add users to groups within courses they do not have authorization to access.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in Moodle. When enrolling a user into a course while assigning them to a group, the application does not verify whether the selected group actually belongs to that course. An authenticated user with teacher privileges could exploit this flaw to add users to groups within courses they do not have authorization to access.","source":"cvelist"}],"published":"2026-09-30T08:36:17.130Z","modified":"2026-10-05T14:30:05.476Z","severity":{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-842"],"affected":[{"ranges":[{"type":"semver","introduced":"5.2.0","fixed":"5.2.2","status":"affected"},{"type":"semver","introduced":"5.1.0","fixed":"5.1.6","status":"affected"}],"package":"moodle","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.1.0","fixed":"5.1.6"},{"status":"affected","introduced":"5.2.0","fixed":"5.2.2"}],"vendor":"moodle","product":"moodle","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"5.1.0","status":"affected","fixed":"5.1.6"},{"type":"semver","introduced":"5.2.0","status":"affected","fixed":"5.2.2"}],"ecosystem":"Bitnami","package":"moodle","purl":"pkg:bitnami/moodle","source":"bitnami"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88538","tags":["fix","patch"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-102585","tags":["advisory","third-party-advisory","vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2543639","tags":["advisory","issue-tracking","third-party-advisory","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=482503","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102585","tags":["web"],"sources":["bitnami"]}],"credits":["Upstream acknowledges Paul Holden as the original reporter."],"assigner":"fedora","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-30T13:56:55.836Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-102585","url":"https://www.cve.org/CVERecord?id=CVE-2026-102585","licence":"CVE Terms of Use","modified":"2026-09-30T15:28:08.543Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-102585","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102585","licence":"Public domain","modified":"2026-10-01T14:47:35.113Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MOODLE-2026-102585","url":"https://osv.dev/vulnerability/BIT-MOODLE-2026-102585","licence":"Apache-2.0","modified":"2026-10-05T14:30:05.476Z"}],"updatedAt":"2026-11-25T22:59:41.622Z","epss":{"score":0.00201,"percentile":0.10487,"date":"2026-12-01T12:00:22.000Z"}}