# CVE-2026-58271: @sync-in/server vulnerable to TOTP Brute-Force via `POST /api/app/sync/register`

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/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.22%, higher than 13% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-21T19:50:14.539Z
- Modified: 2026-09-24T23:17:12.723Z
- Also known as: GHSA-274f-6w77-8qm9
- Weaknesses: CWE-307
- 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/app/sync/register` accepts credentials and a TOTP code to register a desktop sync client. On a failed TOTP, `SyncClientsManager.register()` calls `updateAccesses(user, ip, false)`, which hits a freeze branch that writes `passwordAttempts` back unchanged. The counter never reaches `USER_MAX_PASSWORD_ATTEMPTS` (10) and the lockout gate never fires. A successful guess returns a `{clientId, clientToken}` pair. The token can be exchanged via `POST /api/app/sync/auth/cookie` for a full JWT. While the code is valid, the attacker can also call `POST /api/auth/2fa/disable` to permanently remove MFA. 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 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/Sync-in/server/security/advisories/GHSA-274f-6w77-8qm9> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-58271> (advisory)
- <https://github.com/Sync-in/server/pull/228> (web)
- <https://github.com/Sync-in/server/commit/b13a4aad5c2b38fe8231a0d007cd08a086ec5bdb> (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-58271](https://www.cve.org/CVERecord?id=CVE-2026-58271), CVE Terms of Use, modified 2026-09-24
- GitHub Advisory Database: [GHSA-274f-6w77-8qm9](https://github.com/advisories/GHSA-274f-6w77-8qm9), CC-BY-4.0, modified 2026-09-22
- NVD: [CVE-2026-58271](https://nvd.nist.gov/vuln/detail/CVE-2026-58271), Public domain, modified 2026-09-24

---

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