CVE-2026-58269
HIGH 8.1CVSS 3.1Sync-in Server has a complete 2FA Bypass via `POST /api/auth/token`
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.
- Published
- 21 Sep 2026
- Last modified
- 24 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-288
- Also known as
- GHSA-92cr-jxw4-5wjg
- Sources
- NVDJSONOSV GHSA-92cr-jxw4-5wjgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @sync-in/server | < 2.4.0 | 2.4.0 |
References
- https://github.com/Sync-in/server/security/advisories/GHSA-92cr-jxw4-5wjg · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-58269 · ADVISORY
- https://github.com/Sync-in/server/pull/228 · WEB
- https://github.com/Sync-in/server/commit/3ec74e2ea1f538fe1a3ac9487bdf24a19e548361 · WEB
- https://github.com/Sync-in/server · PACKAGE
- https://github.com/Sync-in/server/releases/tag/v2.4.0 · WEB
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 21 Sep 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 22 Sep 2026)