---
id: "CVE-2026-115718"
kind: "vulnerability"
aliases: ["CVE-2026-115718"]
title: "Frappe Builder: missing authorization lets any logged-in user spend LLM credits"
severity: "medium"
cvss: 5.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["frappe", "frappe-builder", "openrouter", "package", "self-hosted"]
not_affected_if: ["default-config", "no-openrouter-key"]
published_at: "2026-10-26T12:17:05+00:00"
first_seen_at: "2026-10-26T12:29:53+00:00"
updated_at: "2026-10-26T12:31:44+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-115718", "first_seen_at": "2026-10-26T12:29:53+00:00"}]
---

# Frappe Builder: missing authorization lets any logged-in user spend LLM credits

Frappe Builder's improve_prompt endpoint does not check permissions, so any authenticated non-Guest session can call it. An attacker can use the site owner's stored OpenRouter API key to make paid LLM calls.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Frappe Builder version with `bench version` or the app list in the Frappe site, and see whether it is between `1.33.0` and `1.36.0`.
- Confirm whether an OpenRouter API key is stored for the site (unknown from sources where it is kept).

## Fix

- Upgrade Frappe Builder to `1.36.0` or later.
- Rotate the stored OpenRouter API key if the site was running an affected version with non-Guest users.

## Timeline

- 2026-10-26T12:29:53+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-115718

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
