CVE-2025-59305

7.6

Langfuse · Langfuse

An improper authorization flaw in Langfuse 3.1 background migration endpoints allows authenticated users to trigger unauthorized control functions, potentially causing data corruption or service disruption.

Executive summary

A critical authorization vulnerability in Langfuse 3.1 allows authenticated users to manipulate background migration processes, posing a significant risk to data integrity and service availability.

Vulnerability

This vulnerability involves improper authorization within TRPC endpoints, specifically backgroundMigrations.all, backgroundMigrations.status, and backgroundMigrations.retry. Any authenticated user can invoke these functions to perform unauthorized migration control actions.

Business impact

The ability for an authenticated user to invoke background migration functions can lead to severe data corruption or denial of service conditions. Given the CVSS score of 7.6, this flaw represents a high risk to business operations, as it could allow unauthorized users to disrupt critical data pipelines or compromise the state of the Langfuse platform.

Remediation

Immediate Action: Update Langfuse to the version containing the fix for commit d67b317, or ensure the environment is patched against the referenced commit hash.

Proactive Monitoring: Review application access logs for unusual requests directed toward TRPC endpoints, particularly those associated with background migration tasks.

Compensating Controls: Implement strict network access controls or Web Application Firewall (WAF) rules to restrict access to management and background migration endpoints to authorized administrative accounts only.

Exploitation status

Public Exploit Available: No — there is no confirmed public exploit in the available data.

Analyst recommendation

Organizations utilizing Langfuse 3.1 must prioritize applying the necessary security updates to address this authorization bypass. Because the vulnerability allows authenticated users to trigger disruptive system functions, restricting access to the platform and ensuring the latest patch is applied is essential to maintaining system integrity and preventing potential service degradation.

Sources