CVE-2026-41487
JSON

5.3medium

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

Severity
5.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.32% (higher than 17% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
langfuse langfuse>= 3.68.0, < 3.167.0, from 3.68.0 before 3.167.0CVE List, NVD

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-284

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Langfuse es una plataforma de ingeniería de modelos de lenguaje grandes de código abierto. Desde la versión 3.68.0 hasta antes de la versión 3.167.0, existe una falla de control de acceso basado en roles en el flujo de actualización de conexión LLM. Un usuario autenticado y con privilegios bajos del rol ’miembro’ en un proyecto podría solicitar la actualización de una conexión LLM existente a una baseUrl controlada por un atacante, lo que provocaría que Langfuse reutilizara el secreto del proveedor almacenado y redirigiera la solicitud de prueba a un endpoint controlado por un atacante. Esto podría exponer la clave API LLM del proveedor en texto plano para esa conexión. El ataque solo es posible si un usuario ya forma parte de un proyecto y tiene acceso con alcance de ’miembro’. Este problema ha sido parcheado en la versión 3.167.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-41487 changed 2026-05-08CVE Terms of Use
NVDCVE-2026-41487 changed 2026-11-11Public domain