CVE-2026-58269

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
Product@sync-in/server
PublishedSep 21, 2026
First seenSep 21, 2026
Weakness typeCWE-288CWE-288

How to fix

Update
  • @sync-in/server2.4.0 or later

Affected products

ProductAffected versionsFixed in
@sync-in/servernpmv < 2.4.02.4.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.