Vulnerability in Langfuse
CVE-2026-41487
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 7.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Langfuse — versions >= 3.68.0, < 3.167.0
Weakness classification (CWE)
References
- github.com/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh (Patch, Mitigation, Vendor Advisory)
- github.com/langfuse/langfuse/pull/13027 (Patch, Issue Tracking)
- github.com/langfuse/langfuse/pull/13055 (Patch, Issue Tracking)
- github.com/langfuse/langfuse/commit/7527bb0d84bc0a3dc24a4b16d22ed2e46e6dddff (Patch)
- github.com/langfuse/langfuse/commit/e12386f9d4368bbfff24a4ad7fd53641091605ff (Patch)
- github.com/langfuse/langfuse/releases/tag/v3.167.0 (Release Notes)