CVE-2026-41487
MEDIUMLangfuse: Improper role-based-access control in Langfuse LLM connection management allowed users of role “member” to retrieve stored LLM provider API keys
Title source: cnaDescription
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.
References (6)
Core 6
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh
X_Refsource_Misc x_refsource_misc
https://github.com/langfuse/langfuse/pull/13027
X_Refsource_Misc x_refsource_misc
https://github.com/langfuse/langfuse/pull/13055
X_Refsource_Misc x_refsource_misc
https://github.com/langfuse/langfuse/commit/7527bb0d84bc0a3dc24a4b16d22ed2e46e6dddff
X_Refsource_Misc x_refsource_misc
https://github.com/langfuse/langfuse/commit/e12386f9d4368bbfff24a4ad7fd53641091605ff
X_Refsource_Misc x_refsource_misc
https://github.com/langfuse/langfuse/releases/tag/v3.167.0
Scores
CVSS v4
5.3
EPSS
0.0005
EPSS Percentile
14.1%
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-284
Status
published
Products (1)
langfuse/langfuse
>= 3.68.0, < 3.167.0
Published
May 08, 2026
Tracked Since
May 08, 2026