{"id":"CVE-2026-41487","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","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.","publishedAt":"2026-05-08T14:27:48.588Z","updatedAt":"2026-05-08T19:44:31.496Z","severity":{"score":5.3,"label":"Medium","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["langfuse langfuse"],"affected":[{"vendor":"langfuse","product":"langfuse","versions":[{"version":">= 3.68.0, < 3.167.0","status":"affected"}]}],"references":["https://github.com/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh","https://github.com/langfuse/langfuse/pull/13027","https://github.com/langfuse/langfuse/pull/13055","https://github.com/langfuse/langfuse/commit/7527bb0d84bc0a3dc24a4b16d22ed2e46e6dddff","https://github.com/langfuse/langfuse/commit/e12386f9d4368bbfff24a4ad7fd53641091605ff","https://github.com/langfuse/langfuse/releases/tag/v3.167.0"],"weaknesses":["CWE-284"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/41xxx/CVE-2026-41487.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-41487","state":"PUBLISHED","datePublished":"2026-05-08T14:27:48.588Z","dateUpdated":"2026-05-08T19:44:31.496Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-20T16:14:19.007Z"},"containers":{"cna":{"title":"Langfuse: Improper role-based-access control in Langfuse LLM connection management allowed users of role “member” to retrieve stored LLM provider API keys","descriptions":[{"lang":"en","value":"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":[{"vendor":"langfuse","product":"langfuse","versions":[{"version":">= 3.68.0, < 3.167.0","status":"affected"}]}],"references":[{"url":"https://github.com/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh","name":"https://github.com/langfuse/langfuse/security/advisories/GHSA-2524-j966-gfgh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/langfuse/langfuse/pull/13027","name":"https://github.com/langfuse/langfuse/pull/13027","tags":["x_refsource_MISC"]},{"url":"https://github.com/langfuse/langfuse/pull/13055","name":"https://github.com/langfuse/langfuse/pull/13055","tags":["x_refsource_MISC"]},{"url":"https://github.com/langfuse/langfuse/commit/7527bb0d84bc0a3dc24a4b16d22ed2e46e6dddff","name":"https://github.com/langfuse/langfuse/commit/7527bb0d84bc0a3dc24a4b16d22ed2e46e6dddff","tags":["x_refsource_MISC"]},{"url":"https://github.com/langfuse/langfuse/commit/e12386f9d4368bbfff24a4ad7fd53641091605ff","name":"https://github.com/langfuse/langfuse/commit/e12386f9d4368bbfff24a4ad7fd53641091605ff","tags":["x_refsource_MISC"]},{"url":"https://github.com/langfuse/langfuse/releases/tag/v3.167.0","name":"https://github.com/langfuse/langfuse/releases/tag/v3.167.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","lang":"en","description":"CWE-284: Improper Access Control","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-08T14:27:48.588Z"},"source":{"advisory":"GHSA-2524-j966-gfgh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-08T19:44:13.340871Z","id":"CVE-2026-41487","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-08T19:44:31.496Z"}}]}}}