{"id":"CVE-2026-41487","aliases":["CVE-2026-41487"],"related":[],"kind":"vulnerability","state":"published","title":"Langfuse: Improper role-based-access control in Langfuse LLM connection management allowed users of role “member” to retrieve stored LLM provider API keys","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-05-08T14:27:48.588Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-284"],"affected":[{"ranges":[{"version":">= 3.68.0, < 3.167.0","status":"affected"}],"vendor":"langfuse","product":"langfuse","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.68.0","fixed":"3.167.0"}],"vendor":"langfuse","product":"langfuse","cpe":"cpe:2.3:a:langfuse:langfuse:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh","tags":["mitigation","patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/langfuse/langfuse/pull/13027","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/langfuse/langfuse/pull/13055","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/langfuse/langfuse/commit/7527bb0d84bc0a3dc24a4b16d22ed2e46e6dddff","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/langfuse/langfuse/commit/e12386f9d4368bbfff24a4ad7fd53641091605ff","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/langfuse/langfuse/releases/tag/v3.167.0","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-08T19:44:13.340Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41487","url":"https://www.cve.org/CVERecord?id=CVE-2026-41487","licence":"CVE Terms of Use","modified":"2026-05-08T19:44:31.496Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41487","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41487","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.018Z","epss":{"score":0.00315,"percentile":0.16878,"date":"2026-11-30T12:00:22.000Z"}}