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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| frappe | builder | 1.33.0 – < 1.36.0 | 1.36.0 |
References
- builder 1.36.0 Release Notes patch release-notes
- GitHub Security Advisory (GHSA-58mj-c563-p78w) vendor-advisory
- VulnCheck Advisory: Frappe Builder 1.33.0 before 1.36.0 Missing Authorization via improve_prompt third-party-advisory