# CVE-2026-58269: Sync-in Server has a complete 2FA Bypass via `POST /api/auth/token`

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-21T20:01:56.322Z
- Modified: 2026-09-24T23:17:12.460Z
- Also known as: GHSA-92cr-jxw4-5wjg
- Weaknesses: CWE-288
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- Sync-in server: < 2.4.0
- @sync-in/server (npm): before 2.4.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/Sync-in/server/security/advisories/GHSA-92cr-jxw4-5wjg> (exploit, 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)

## Sources

- CVE List: [CVE-2026-58269](https://www.cve.org/CVERecord?id=CVE-2026-58269), CVE Terms of Use, modified 2026-09-24
- GitHub Advisory Database: [GHSA-92cr-jxw4-5wjg](https://github.com/advisories/GHSA-92cr-jxw4-5wjg), CC-BY-4.0, modified 2026-09-22
- NVD: [CVE-2026-58269](https://nvd.nist.gov/vuln/detail/CVE-2026-58269), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-58269 · Whole record: https://cve.day/CVE-2026-58269.json · Rebuilt by cve.day 2026-11-25T22:59:40.376Z
