Frappe Builder 1.33.0 before 1.36.0 Missing Authorization via improve_prompt
Summary
Frappe Builder versions 1.33.0 before1.36.0 contain a missing authorization vulnerability in the improve_prompt endpoint that allows any authenticated non-Guest session to invoke LLM completions without proper permission checks. Attackers can call the improve_prompt API to leverage the site owner's...
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| frappe | builder |
≥ 1.33.0, < 1.36.0 |
1.36.0 |
Original description The description as published by the source.
Frappe Builder versions 1.33.0 before1.36.0 contain a missing authorization vulnerability in the improve_prompt endpoint that allows any authenticated non-Guest session to invoke LLM completions without proper permission checks. Attackers can call the improve_prompt API to leverage the site owner's stored OpenRouter API key via resolve_api_key, consuming paid LLM credits and effectively turning the site into a free LLM proxy.
Source: CVE.org (CVE Program・cvelistV5) NVD