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

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 17% of CVEs (2026-11-30)
- Published: 2026-05-08T14:27:48.588Z
- Modified: 2026-11-11T20:10:00.273Z
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- langfuse langfuse: >= 3.68.0, < 3.167.0; from 3.68.0 before 3.167.0

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `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`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh> (mitigation, patch, vendor-advisory)
- <https://github.com/langfuse/langfuse/pull/13027> (issue-tracking, patch)
- <https://github.com/langfuse/langfuse/pull/13055> (issue-tracking, patch)
- <https://github.com/langfuse/langfuse/commit/7527bb0d84bc0a3dc24a4b16d22ed2e46e6dddff> (patch)
- <https://github.com/langfuse/langfuse/commit/e12386f9d4368bbfff24a4ad7fd53641091605ff> (patch)
- <https://github.com/langfuse/langfuse/releases/tag/v3.167.0> (release-notes)

## Sources

- CVE List: [CVE-2026-41487](https://www.cve.org/CVERecord?id=CVE-2026-41487), CVE Terms of Use, modified 2026-05-08
- NVD: [CVE-2026-41487](https://nvd.nist.gov/vuln/detail/CVE-2026-41487), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-41487 · Whole record: https://cve.day/CVE-2026-41487.json · Rebuilt by cve.day 2026-11-25T22:59:21.018Z
