Skip to main content
← All vulnerabilities
CVE-2026-58269GHSA-92CR-JXW4-5WJG

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.4.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Sync-in server

    fixed in 2.4.0

  • @sync-in/servernpm

    fixed in 2.4.0

References 1

GitHub · Sync-in/server