CVE-2026-134835 in Langfuse
Summary
by MITRE • 11/23/2026
Langfuse before 4.82.0 contains a server-side request forgery vulnerability that allows organization admins to target internal hosts by setting the GitHub Enterprise SSO baseUrl, which skips outbound-URL validation. Attackers can point baseUrl to loopback, RFC1918, or cloud metadata addresses so user sign-ins trigger server requests carrying stored OAuth client credentials.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/23/2026
The vulnerability identified in Langfuse versions prior to 4.82.0 constitutes a critical Server-Side Request Forgery (SSRF) flaw that exploits the configuration mechanisms for GitHub Enterprise Single Sign-On integration. This security defect arises from an insufficient validation of user-supplied input within the administrative interface, specifically targeting the baseUrl parameter used to configure the SSO endpoint. Because organization administrators possess elevated privileges to modify these settings, they can manipulate this field without triggering the expected outbound URL restrictions designed to prevent internal network access or external exfiltration. The core technical failure lies in the application's logic which fails to enforce strict allow-listing or robust pattern matching against RFC1918 private address ranges, loopback addresses such as 127.0.0.1, and cloud provider metadata endpoints like those found at 169.254.169.254 when processing the SSO configuration request.
From a technical perspective, this SSRF vulnerability allows an authenticated organization administrator to redirect server-side HTTP requests intended for legitimate GitHub Enterprise authentication servers toward arbitrary internal destinations. When a user attempts to sign in using the configured SSO method, the Langfuse backend initiates a network connection based on the maliciously crafted baseUrl. This action effectively bypasses standard outbound URL validation controls that are typically implemented to mitigate SSRF risks. By pointing the configuration to an attacker-controlled server or an internal service endpoint, the administrator can force the application server to make requests into restricted network zones. The impact is compounded by the fact that these forged requests carry stored OAuth client credentials associated with the Langfuse integration, potentially exposing sensitive authentication tokens and secrets if they are transmitted in headers or query parameters during the handshake process.
The operational impact of this vulnerability extends beyond simple internal reconnaissance. An attacker leveraging this flaw can perform network mapping within the organization's infrastructure by analyzing response times or error messages returned from internal services accessed via SSRF. More critically, because the server-side requests involve OAuth flows, there is a significant risk of credential leakage if the target endpoint echoes back authentication headers or tokens. This could allow an adversary to intercept sensitive session data or OAuth secrets, leading to unauthorized access to GitHub Enterprise resources or other integrated systems that trust these credentials. Furthermore, in cloud environments, targeting metadata endpoints can lead to the retrieval of instance identity documents and temporary security credentials, which may grant broader access to cloud infrastructure services than initially anticipated by the organization's security policies.
This vulnerability aligns with CWE-918, Server-Side Request Forgery (SSRF), specifically reflecting weaknesses in input validation where user-controlled data influences server-side network requests without adequate verification of destination addresses. It also maps to MITRE ATT&CK technique T1557, Adversary-in-the-Middle, as the attacker positions themselves between the client and internal services by manipulating the SSO configuration. Additionally, it relates to CWE-284, Improper Access Control, since an authenticated user with administrative privileges is able to execute actions that bypass security restrictions intended for outbound traffic. The exploitation requires authentication but leverages high-level permissions, highlighting a need for stricter privilege separation and input sanitization in administrative functions.
To mitigate this risk, organizations running Langfuse versions earlier than 4.82.0 must upgrade immediately to the patched version where these validation checks have been strengthened. In environments where upgrading is not immediately feasible, network segmentation strategies should be employed to restrict outbound traffic from the application server to only known and trusted external domains. Implementing a web application firewall with SSRF detection rules can also help block requests directed at private IP ranges or cloud metadata endpoints. Additionally, administrators should review access controls for SSO configuration settings, ensuring that such changes are subject to additional approval workflows or multi-factor authentication requirements to reduce the attack surface available to compromised admin accounts. Regular auditing of outbound network connections from application servers is recommended to detect any anomalous traffic patterns indicative of SSRF exploitation attempts.