← Back to search

CVE-2026-58269

8.1 HIGHpublic exploit available

Published 2026-09-21 · Updated 2026-09-24

AI risk analysis

Summary
The flaw allows an attacker to bypass two-factor authentication (2FA) by exploiting the `POST /api/auth/token` endpoint, which returns full access tokens without checking 2FA status.
Exploitability
Exploitation is relatively easy if an attacker has stolen or phished credentials, as 2FA is bypassed in a single request.
Blast radius
If exploited, the attacker gains full access to the user's account, potentially leading to data theft or unauthorized actions.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to version 2.4.0 or later.
auth-bypasswebapi2fa

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Weaknesses

CWE-288

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.