Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-27838: CWE-639: Authorization Bypass Through User-Controlled Key in wger-project wger

0
Low
VulnerabilityCVE-2026-27838cvecve-2026-27838cwe-639
Published: Thu Feb 26 2026 (02/26/2026, 22:04:57 UTC)
Source: CVE Database V5
Vendor/Project: wger-project
Product: wger

Description

wger is a free, open-source workout and fitness manager. Five routine detail action endpoints check a cache before calling `self.get_object()`. In versions up to and including 2.4, ache keys are scoped only by `pk` — no user ID is included. When a victim has previously accessed their routine via the API, an attacker can retrieve the cached response for the same PK without any ownership check. Commit e964328784e2ee2830a1991d69fadbce86ac9fbf contains a patch for the issue.

AI-Powered Analysis

AILast updated: 02/26/2026, 22:42:52 UTC

Technical Analysis

The vulnerability CVE-2026-27838 affects wger, a free and open-source workout and fitness management application. In versions up to and including 2.4, five routine detail action API endpoints implement caching to improve performance. However, the cache keys are constructed solely based on the primary key (pk) of the routine, without incorporating the user ID or ownership information. This design flaw means that when a user accesses their routine, the response is cached under a key that is not user-specific. An attacker who knows or guesses the pk of another user's routine can retrieve the cached response from the API without any authorization checks, effectively bypassing access controls. The vulnerability is classified under CWE-639 (Authorization Bypass Through User-Controlled Key). The patch referenced (commit e964328784e2ee2830a1991d69fadbce86ac9fbf) fixes the issue by including user identifiers in the cache key, ensuring that cached data is scoped per user and preventing unauthorized access. The CVSS v3.1 base score is 3.1, reflecting low severity due to limited impact (confidentiality only), the need for low privileges, and high attack complexity. There are no known exploits in the wild at this time.

Potential Impact

This vulnerability allows unauthorized users to access cached routine details of other users without authentication or user interaction, leading to a breach of confidentiality. While it does not affect data integrity or availability, the exposure of personal fitness routines could violate user privacy and potentially expose sensitive health-related information. For organizations or communities relying on wger for fitness management, this could undermine user trust and compliance with data protection regulations such as GDPR. The impact is limited to information disclosure and requires the attacker to know or guess valid routine primary keys, which may reduce exploitability. However, in environments with many users and predictable or sequential PKs, the risk of unauthorized data access increases. Since no known exploits exist yet, the threat is currently theoretical but should be addressed proactively.

Mitigation Recommendations

Organizations using wger versions 2.4 or earlier should upgrade immediately to the patched version containing commit e964328784e2ee2830a1991d69fadbce86ac9fbf or later, which scopes cache keys by user ID to prevent unauthorized access. If upgrading is not immediately feasible, administrators should consider disabling caching on the affected routine detail endpoints to eliminate the vulnerability vector. Additionally, implementing strict API access controls and monitoring for unusual access patterns to routine details can help detect exploitation attempts. Developers should review other caching mechanisms in the application to ensure user scoping is consistently applied. Finally, educating users about the importance of strong authentication and limiting exposure of routine identifiers can reduce the risk of exploitation.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-24T02:32:39.801Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69a0c89232ffcdb8a2524530

Added to database: 2/26/2026, 10:26:26 PM

Last enriched: 2/26/2026, 10:42:52 PM

Last updated: 2/27/2026, 5:39:17 AM

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses