CVE-2026-78863

liketrek TREK Pre-2FA mfa_token authService.ts loginUser improper authentication

Published Aug 25, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was found in liketrek TREK up to 3.0.22. Impacted is the function loginUser of the file server/src/services/authService.ts of the component Pre-2FA mfa_token Handler. The manipulation results in improper authentication. The attack may be performed from remote. Upgrading to version 3.1.0 is recommended to address this issue. Upgrading the affected component is recommended.

Analysis

AI-generated

Technical impact

The vulnerability lies in the loginUser function of the server/src/services/authService.ts component, where the pre‑2FA mfa_token handling fails to correctly validate authentication. This flaw enables an attacker to bypass authentication checks, potentially gaining unauthorized access to the TREK application. The weakness is identified as CWE‑287 and results in a remote authentication bypass without any additional prerequisites beyond reaching the exposed endpoint.

Affected Systems

liketrek TREK versions up to 3.0.22 are affected. The functionality is part of the mfa_token handler that supports a pre‑2FA authentication flow. Users running these releases should upgrade to version 3.1.0 or later, which contains the security fix for the improper authentication bug.

Risk and Exploitability

The CVSS score of 5.3 indicates a medium severity issue, and the EPSS score is not available. The vulnerability can be exploited from a remote location by targeting the authentication endpoint, meaning that systems exposed to the internet are at risk. Although it is not listed in the CISA KEV catalog, the remote nature of the attack and the lack of additional mitigations suggest that the risk to exposed installations is significant enough to warrant prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade liketrek TREK to version 3.1.0 or later to apply the fix for improper authentication.
  • If an upgrade is not immediately possible, restrict network access to the authentication endpoint or enforce network‑level MFA requirements to block unauthenticated access.
  • Implement an additional verification step that ensures the mfa_token is not accepted when the pre‑2FA authentication flow is active, to mitigate the risk of unauthorized logins.

Generated by OpenCVE AI on August 25, 2026 at 12:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was found in liketrek TREK up to 3.0.22. Impacted is the function loginUser of the file server/src/services/authService.ts of the component Pre-2FA mfa_token Handler. The manipulation results in improper authentication. The attack may be performed from remote. Upgrading to version 3.1.0 is recommended to address this issue. Upgrading the affected component is recommended.
Title liketrek TREK Pre-2FA mfa_token authService.ts loginUser improper authentication
First Time appeared Liketrek
Liketrek trek
Weaknesses CWE-287
CPEs cpe:2.3:a:liketrek:trek:*:*:*:*:*:*:*:*
Vendors & Products Liketrek
Liketrek trek
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Aug 27, 2026, 3:06 PM
Reserved
Aug 25, 2026, 6:01 AM
Status
Deferred
Published
Aug 25, 2026, 11:16 AM
Modified
Sep 28, 2026, 11:10 PM