Frappe Builder unauthorized LLM credit use in improve_prompt
frappe builder
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| frappe builder |
| No fix yet |
Original description
Frappe Builder versions 1.33.0 before 1.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.
From the CVE record · VulnCheck