# 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

> 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. CVSS 5.4 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-41487
Last updated: 2026-06-17T10:46:47Z

- Published: 2026-05-08 14:27 UTC · Updated: 2026-06-17 10:46 UTC · Assigner: GitHub\_M
- CVSS: 5.4 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.18%, 8th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-284

## 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.

## Affected vendors and products

- langfuse: langfuse

## Tracked companies

- [Langfuse](https://rewindex.com/company/langfuse.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-41487)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-41487)
- [https://github.com/langfuse/langfuse/commit/7527bb0d84bc0a3dc24a4b16d22ed2e46e6dddff](https://github.com/langfuse/langfuse/commit/7527bb0d84bc0a3dc24a4b16d22ed2e46e6dddff)
- [https://github.com/langfuse/langfuse/commit/e12386f9d4368bbfff24a4ad7fd53641091605ff](https://github.com/langfuse/langfuse/commit/e12386f9d4368bbfff24a4ad7fd53641091605ff)
- [https://github.com/langfuse/langfuse/pull/13027](https://github.com/langfuse/langfuse/pull/13027)
- [https://github.com/langfuse/langfuse/pull/13055](https://github.com/langfuse/langfuse/pull/13055)
- [https://github.com/langfuse/langfuse/releases/tag/v3.167.0](https://github.com/langfuse/langfuse/releases/tag/v3.167.0)
- [https://github.com/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh](https://github.com/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-41487 · Markdown: https://rewindex.com/cve/CVE-2026-41487.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-41487 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:14:48.274Z
