# CVE-2022-0985: Improper Authentication in moodle

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 47% of CVEs (2026-12-01)
- Published: 2022-04-29T15:48:30.000Z
- Modified: 2026-09-08T08:48:14.839Z
- Also known as: GHSA-6q9g-3vfq-q2qj, BIT-MOODLE-2022-0985
- Weaknesses: CWE-287, CWE-863
- Assigned by: redhat

## Description

Insufficient capability checks could allow users with the moodle/site:uploadusers capability to delete users, without having the necessary moodle/user:delete capability.

(As written by CVE List.)

## Affected

- moodle: moodle 3.11.6, moodle 3.10.10, moodle 3.9.13
- moodle/moodle (Packagist): from 3.11.0 before 3.11.6; from 3.10.0 before 3.10.10; from 3.9 before 3.9.13
- moodle moodle: before 3.9.13; from 3.10.0 before 3.10.10; from 3.11.0 before 3.11.6
- moodle (Bitnami): before 3.9.13; from 3.10.0 before 3.10.10; from 3.11.0 before 3.11.6

## Every score

- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2064117> (advisory, issue-tracking, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0985> (advisory, web)
- <https://github.com/moodle/moodle/commit/addd4f894d8173ec8ff0ae2212d51a1977e7bcad> (web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2022-0985](https://www.cve.org/CVERecord?id=CVE-2022-0985), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-6q9g-3vfq-q2qj](https://github.com/advisories/GHSA-6q9g-3vfq-q2qj), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-0985](https://nvd.nist.gov/vuln/detail/CVE-2022-0985), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2022-0985](https://osv.dev/vulnerability/BIT-MOODLE-2022-0985), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-0985 · Whole record: https://cve.day/CVE-2022-0985.json · Rebuilt by cve.day 2026-11-25T22:58:11.306Z
