{"id":"CVE-2026-102585","state":"PUBLISHED","title":"Moodle: group validation missing when enrolling user to course","description":"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.","publishedAt":"2026-09-30T08:36:17.130Z","updatedAt":"2026-09-30T15:28:08.543Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"fedora"},"assigner":"fedora","products":["moodle"],"affected":[{"packageName":"moodle","defaultStatus":"unaffected","versions":[{"version":"5.2.0","status":"affected","lessThan":"5.2.2","versionType":"semver"},{"version":"5.1.0","status":"affected","lessThan":"5.1.6","versionType":"semver"}],"collectionURL":"https://git.moodle.org"}],"references":["http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88538","https://access.redhat.com/security/cve/CVE-2026-102585","https://bugzilla.redhat.com/show_bug.cgi?id=2543639","https://moodle.org/mod/forum/discuss.php?d=482503"],"weaknesses":["CWE-842"],"ingestedAt":"2026-10-29T20:10:13.529Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/102xxx/CVE-2026-102585.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-102585","state":"PUBLISHED","datePublished":"2026-09-30T08:36:17.130Z","dateUpdated":"2026-09-30T15:28:08.543Z","assignerShortName":"fedora","assignerOrgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateReserved":"2026-09-29T14:03:38.494Z"},"containers":{"cna":{"title":"Moodle: group validation missing when enrolling user to course","descriptions":[{"lang":"en","value":"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."}],"affected":[{"packageName":"moodle","defaultStatus":"unaffected","versions":[{"version":"5.2.0","status":"affected","lessThan":"5.2.2","versionType":"semver"},{"version":"5.1.0","status":"affected","lessThan":"5.1.6","versionType":"semver"}],"collectionURL":"https://git.moodle.org"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88538"},{"url":"https://access.redhat.com/security/cve/CVE-2026-102585","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2543639","name":"RHBZ#2543639","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=482503"}],"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":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-842","description":"Placement of User into Incorrect Group","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"fedora","orgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateUpdated":"2026-09-30T08:36:17.130Z"},"datePublic":"2026-09-29T20:17:12.000Z","x_redhatCweChain":"CWE-842: Placement of User into Incorrect Group","timeline":[{"lang":"en","time":"2026-09-09T13:08:58.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2026-09-29T20:17:12.000Z","value":"Made public."}],"credits":[{"lang":"en","value":"Upstream acknowledges Paul Holden as the original reporter."}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-102585","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-09-30T13:56:55.836555Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-30T15:28:08.543Z"}}]}}}