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

MEDIUM
5.4
CVSS Score
Published: May 8, 2026 at 02:27 PM UTC
Updated: June 17, 2026 at 10:46 AM UTC
1 product affected across 1 vendorLangfuse

Using langfuse by langfuse?

Get instant alerts when new vulnerabilities affect langfuse - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.167.03.68.0 ≤ v < 3.167.0
Affected range stops below 3.167.0, so it looks safe — our inference, not a vendor statement

References (6)

x_refsource_CONFIRMMitigationPatchVendor Advisory
Source: cverecord
https://github.com/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/langfuse/langfuse/pull/13027
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/langfuse/langfuse/pull/13055
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/langfuse/langfuse/releases/tag/v3.167.0

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-284

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card