{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "3.9.0"
              },
              {
                "fixed": "3.9.10"
              },
              {
                "introduced": "3.10.0"
              },
              {
                "fixed": "3.10.7"
              },
              {
                "introduced": "3.11.0"
              },
              {
                "fixed": "3.11.3"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "500c131eb49771e36f68d151dfa37fef5a9bc2df"
            },
            {
              "fixed": "0ec02c2a67c5030c6b6a5b6cc7d5c174c4e5c446"
            },
            {
              "introduced": "ec58cefefb2722f61f77c9a2b6a12d40a8c078a0"
            },
            {
              "fixed": "5af6e79b38980c76fd50d8b8da3bd60903b1e44c"
            },
            {
              "introduced": "94f2d3fc4b974c5c7d500988c56b7ca15f58d7ec"
            },
            {
              "fixed": "ab931f6aa7a7f1aaf356548dbe49f846778a7c81"
            }
          ],
          "repo": "https://github.com/moodle/moodle",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "Insufficient capability checks made it possible for teachers to download users outside of their courses.",
  "id": "CVE-2021-40692",
  "modified": "2026-07-08T05:38:10.251428439Z",
  "published": "2022-09-29T03:15:14.293Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2043414"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}