CVE-2026-41487 json
Langfuse: Improper role-based-access control in Langfuse LLM connection management allowed users of role “member” to retrieve stored LLM provider API keys
published 2026-05-08 6 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-28647
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- langfuse langfuse 3.167.0
- github.com/langfuse/langfuse@7527bb0 commit
- github.com/langfuse/langfuse@e12386f commit
- github.com/langfuse/langfuse#13027 pull request
- github.com/langfuse/langfuse#13055 pull request
- github.com/langfuse/langfuse/releases/tag/v3.167.0 release
- github.com/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh advisory
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.3 | 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 |
| CNA | 4.0 | 5.3 | 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 |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected products
- langfuse langfuse
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
github.com
/langfuse/langfuse/pull/13027
issue-tracking, patch
-
github.com
/langfuse/langfuse/pull/13055
issue-tracking, patch
-
github.com
/langfuse/langfuse/commit/7527bb0d84bc0a3dc24a4b16d22ed2e46e6dddff
patch
-
github.com
/langfuse/langfuse/commit/e12386f9d4368bbfff24a4ad7fd53641091605ff
patch
-
github.com
/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh
mitigation, patch, vendor-advisory
-
github.com
/langfuse/langfuse/releases/tag/v3.167.0
release-notes
Sources
- CVE List CVE-2026-41487
- NVD CVE-2026-41487
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.