CVE-2026-136178 in Enduraininfo

Summary

by MITRE • 11/24/2026

Endurain before 0.20.0 contains a missing authentication vulnerability in the PUT /api/v1/strava/link endpoint that allows unauthenticated attackers to modify Strava integrations using only a victim's strava_state value. Attackers can submit a leaked state with their own OAuth code to link an attacker-controlled Strava account, or an invalid code to remove the victim's integration.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified in Endurain versions prior to 0.20.0 represents a critical failure in authentication and session management mechanisms within its API infrastructure. Specifically, the flaw resides in the PUT /api/v1/strava/link endpoint, which is designed to establish or modify integrations with Strava, an online fitness community platform that tracks physical activities such as running and cycling. The core technical deficiency lies in the improper validation of authentication tokens during state transitions associated with OAuth flows. In standard OAuth 2.0 implementations, a state parameter is used to prevent Cross-Site Request Forgery attacks by ensuring that the authorization request initiated by the user matches the callback response received from the identity provider. However, Endurain fails to enforce strict binding between this state value and an active authenticated session or requires no authentication at all for this specific modification endpoint. This architectural oversight allows any actor possessing a valid strava_state value to manipulate the integration status without presenting legitimate credentials.

From a technical perspective, the exploitation of this vulnerability relies on the predictability or leakage of the strava_state parameter. If an attacker obtains this state value through side-channel attacks, log exposure, or other means of information disclosure, they can craft malicious requests to the vulnerable endpoint. The attack vector is bifurcated based on the input provided by the attacker. In one scenario, if the attacker possesses their own valid OAuth code from Strava, they can submit a request containing the victim's leaked state alongside their own authorization code. This action effectively hijacks the integration process, linking the Endurain account to an attacker-controlled Strava profile rather than the intended user's profile. Alternatively, by submitting an invalid or non-existent OAuth code along with the stolen state value, the attacker can trigger a failure condition that results in the removal of the victim's existing Strava integration. This dual nature of the exploit allows for both unauthorized access and denial of service against the specific feature set.

The operational impact of this vulnerability is significant, particularly regarding data integrity and user trust. When an attacker successfully links their own account to a victim's Endurain profile, they gain visibility into any health or fitness data that might be synced through Strava, depending on subsequent permissions granted during the OAuth flow. This constitutes a severe breach of confidentiality for sensitive personal information related to physical activity locations, distances, and times. Furthermore, the ability to remove integrations disrupts service availability for legitimate users, potentially causing loss of historical data synchronization or breaking automated workflows that depend on continuous Strava connectivity. For organizations using Endurain in professional sports analytics or health monitoring contexts, this could lead to compromised athlete performance metrics or disrupted operational continuity.

This vulnerability aligns with CWE-306, which describes a Missing Authentication for Critical Function, as the system fails to require proper authentication before allowing modifications to critical integration settings. It also relates closely to CWE-287, Improper Authentication, due to the failure to verify that the requester is authorized to perform state changes on behalf of the user associated with the strava_state value. In terms of offensive security frameworks, this behavior maps to MITRE ATT&CK technique T1504, specifically the sub-technique for Web Session Hijacking or manipulation via insecure session handling parameters like OAuth states. The exploitation method resembles aspects of Cross-Site Request Forgery (CSRF) but is exacerbated by the lack of authentication checks entirely on the API endpoint rather than just missing anti-CSRF tokens within an authenticated context.

Mitigation strategies must focus on immediate patching and architectural review. Users running Endurain versions earlier than 0.20.0 should upgrade to the latest stable release where this issue has been resolved by implementing strict authentication checks for all modification endpoints. Developers reviewing similar systems should ensure that OAuth state parameters are cryptographically bound to specific user sessions or unique request identifiers, preventing reuse across different contexts. Additionally, enforcing mutual TLS or requiring explicit re-authentication for sensitive configuration changes can further harden the application against such manipulation. Regular security audits focusing on API endpoint authorization logic and strict validation of third-party integration states are essential to prevent recurrence of this class of vulnerabilities in future development cycles.

Responsible

VulnCheck

Reservation

11/24/2026

Disclosure

11/24/2026

Moderation

accepted

CPE

ready

EPSS

0.00831

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!