CVE-2026-41487

published 8 May 2026 · updated 11 Nov 2026

Langfuse: Improper role-based-access control in Langfuse LLM connection management allowed users of role “member” to retrieve stored LLM provider API keys

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.167.0.

Langfuse is an open source large language model engineering platform. From version 3.68.0 to before version 3.167.0, there is a role-based-access control flaw in the LLM connection update flow. An authenticated, low-privileged user of role “member” in a project could request the update of an existing LLM connection to an attacker-controlled baseUrl, causing Langfuse to reuse the stored provider secret and redirect the test request to an attacker-controlled endpoint. This could expose the plaintext provider LLM API key for that connection. The attack is only possible if a user is already part of a project and has “member” scoped access. This issue has been patched in version 3.167.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
langfuselangfuse>=3.68.0 <3.167.03.167.0
langfuse>=3.68.0 <3.167.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-41487 severity on Zeptric[![CVE-2026-41487](https://zeptric.io/badge/cve/CVE-2026-41487.svg)](https://zeptric.io/cve/CVE-2026-41487)