# CVE-2026-59227: Open WebUI: POST /api/v1/images/edit bypasses the global image-edit switch and the per-user image-generation permission

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- 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.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-09T15:56:44.042Z
- Modified: 2026-08-04T14:40:38.337Z
- Also known as: GHSA-rqj7-6wrp-6g2g, PYSEC-2026-3604
- Weaknesses: CWE-862, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.8.11 before 0.10.0, POST /api/v1/images/edit required only a verified account and did not enforce the global image-edit switch or the per-user image-generation permission, allowing a non-admin user to invoke server-side image editing with administrator-configured provider credentials. This issue is fixed in version 0.10.0.

(As written by CVE List.)

## Affected

- open-webui open-webui: >= 0.8.11, < 0.10.0
- open-webui (PyPI): from 0.8.11 before 0.10.0
- openwebui open_webui: from 0.8.11 before 0.10.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-rqj7-6wrp-6g2g> (exploit, vendor-advisory, web)
- <https://github.com/open-webui/open-webui/pull/26009> (issue-tracking, patch, web)
- <https://github.com/open-webui/open-webui/commit/e038bab66dec8d17212eec35b5cb6d6b785a4200> (patch, web)
- <https://github.com/open-webui/open-webui/releases/tag/v0.10.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59227> (advisory)
- <https://github.com/open-webui/open-webui> (package)
- <https://pypi.org/project/open-webui> (package)
- <https://github.com/advisories/GHSA-rqj7-6wrp-6g2g> (advisory)

## Sources

- CVE List: [CVE-2026-59227](https://www.cve.org/CVERecord?id=CVE-2026-59227), CVE Terms of Use, modified 2026-07-14
- GitHub Advisory Database: [GHSA-rqj7-6wrp-6g2g](https://github.com/advisories/GHSA-rqj7-6wrp-6g2g), CC-BY-4.0, modified 2026-08-04
- NVD: [CVE-2026-59227](https://nvd.nist.gov/vuln/detail/CVE-2026-59227), Public domain, modified 2026-07-14
- PyPA Advisory Database: [PYSEC-2026-3604](https://osv.dev/vulnerability/PYSEC-2026-3604), CC-BY-4.0, modified 2026-08-04

---

Page: https://cve.day/CVE-2026-59227 · Whole record: https://cve.day/CVE-2026-59227.json · Rebuilt by cve.day 2026-11-25T22:59:27.523Z
