CVE-2026-58269

Sync-in Server has a complete 2FA Bypass via `POST /api/auth/token`

Published Sep 21, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
Sync-in Server is an open-source platform for file storage, sharing, collaboration, and syncing. Prior to version 2.4.0, `POST /api/auth/token` authenticates with username and password only, then calls `getTokens()`, which returns full access and refresh JWTs without checking whether the account has TOTP 2FA enabled. An attacker with stolen or phished credentials can bypass 2FA in a single request. The parallel login endpoint (`POST /api/auth/login`) correctly enforces 2FA by calling `setCookies(user, res, true)`, which gates on `user.twoFaEnabled`. Version 2.4.0 patches the issue.

Analysis

AI-generated

Technical impact

Sync‑in Server’s authentication endpoint /api/auth/token fails to validate whether a user has two‑factor authentication enabled before issuing full‑access JWTs. An attacker who has obtained or phished valid credentials can submit a single POST request to this endpoint and receive the bearer token without completing the second‑factor step, effectively bypassing all 2FA controls. The vulnerability is classified as an improper authentication flaw (CWE‑288) and can compromise confidential files and shared data on the platform.

Affected Systems

The issue exists in all Sync‑in Server releases prior to version 2.4.0. Users running any 2.x build below 2.4.0 are exposed. The vendor has released a patch in version 2.4.0 that enforces 2FA on the token endpoint.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity, and an attacker only needs stolen or phished credentials to exploit the flaw. No special environment or privilege is required beyond a network connection to the API. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, but the documented attack path and high score suggest significant risk if left unpatched.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Sync‑in Server to version 2.4.0 or later.
  • Force immediate password reset for accounts that may have been compromised and enable 2FA enforcement on all user accounts.
  • Audit authentication logs for anomalous activity and, if feasible, restrict access to the /api/auth/token endpoint to trusted IP ranges or network segments.

Generated by OpenCVE AI on September 21, 2026 at 21:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-92cr-jxw4-5wjg Sync-in Server has a complete 2FA Bypass via `POST /api/auth/token`
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sync-in
Sync-in server
Vendors & Products Sync-in
Sync-in server
Type Values Removed Values Added
Description Sync-in Server is an open-source platform for file storage, sharing, collaboration, and syncing. Prior to version 2.4.0, `POST /api/auth/token` authenticates with username and password only, then calls `getTokens()`, which returns full access and refresh JWTs without checking whether the account has TOTP 2FA enabled. An attacker with stolen or phished credentials can bypass 2FA in a single request. The parallel login endpoint (`POST /api/auth/login`) correctly enforces 2FA by calling `setCookies(user, res, true)`, which gates on `user.twoFaEnabled`. Version 2.4.0 patches the issue.
Title Sync-in Server has a complete 2FA Bypass via `POST /api/auth/token`
Weaknesses CWE-288
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-288

    Authentication Bypass Using an Alternate Path or Channel

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 24, 2026, 10:38 PM
Reserved
Jun 29, 2026, 9:54 PM
Status
Deferred
Published
Sep 21, 2026, 8:17 PM
Modified
Sep 24, 2026, 11:17 PM