Description
Langfuse is an open source large language model engineering platform. In versions 3.146.0 and below, the /api/public/slack/install endpoint initiates Slack OAuth using a projectId provided by the client without authentication or authorization. The projectId is preserved throughout the OAuth flow, and the callback stores installations based on this untrusted metadata. This allows an attacker to bind their Slack workspace to any project and potentially receive changes to prompts stored in Langfuse Prompt Management. An attacker can replace existing Prompt Slack Automation integrations or pre-register a malicious one, though the latter requires an authenticated user to unknowingly configure it despite visible workspace and channel indicators in the UI. This issue has been fixed in version 3.147.0.
Problem types
CWE-284: Improper Access Control
Product status
References
github.com/...ngfuse/security/advisories/GHSA-pvq7-vvfj-p98x
github.com/...ommit/3adc89e4d72729eabef55e46888b8ce80a7e3b0a
github.com/langfuse/langfuse/releases/tag/v3.147.0
langfuse.com/...agement/features/webhooks-slack-integrations