{"id":"CVE-2026-58271","published":"2026-09-21T19:50:14Z","modified":"2026-09-24T22:36:41Z","title":"@sync-in/server vulnerable to TOTP Brute-Force via `POST /api/app/sync/register`","vendor":"Sync-in","product":"server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00219,"percentile":0.12661,"provenance":"source"},"cwes":[{"id":"CWE-307","name":"Improper Restriction of Excessive Authentication Attempts"}],"references":[{"url":"https://github.com/Sync-in/server/security/advisories/GHSA-274f-6w77-8qm9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":2.53},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"sync-in","affectedVersions":[{"vendor":"Sync-in","product":"server","versions":["< 2.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-24T22:35:57.537707Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@sync-in/server","vulnerableRanges":["<2.4.0"],"patched":["2.4.0"],"from":["GHSA-274f-6w77-8qm9"],"provenance":"source"}],"summary":{"text":"Sync-in Server, prior to version 2.4.0, has a flaw in the POST /api/app/sync/register endpoint, where failed TOTP attempts never increment the password-attempt counter, so the account lockout never triggers. An attacker with network access and valid low-privilege credentials can brute-force the TOTP code, and a successful guess yields a client token that can be exchanged for a full session and used to disable MFA; the attack requires no user interaction and no special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:53Z"},"euvd":{"id":"EUVD-2026-84112","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sync-in-server-cve-2026-58271","children":[{"from":"CVE-2026-58271","to":"CVE-2026-58272","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@sync-in/server","fromFixed":"2.4.0","toFixed":"2.4.1","daysApart":0},{"kind":"same-code","provenance":"machine","files":["backend/src/applications/users/services/users-manager.service.ts"],"commits":["https://github.com/Sync-in/server/commit/b13a4aad5c2b38fe8231a0d007cd08a086ec5bdb","https://github.com/Sync-in/server/commit/b80efe04574039a7a302c0e1007f03a7dbe6a633"],"basis":"shared function","functions":["UsersManager"]}]}],"packageHistory":[{"cve":"CVE-2026-47684","published":"2026-06-16","fixed":"2.3.0","kev":false,"link":{"from":"CVE-2026-47684","to":"CVE-2026-58271","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@sync-in/server","fromFixed":"2.3.0","toFixed":"2.4.0","daysApart":97}]}},{"cve":"CVE-2026-58269","published":"2026-09-21","fixed":"2.4.0","kev":false},{"cve":"CVE-2026-58270","published":"2026-09-21","fixed":"2.4.0","kev":false},{"cve":"CVE-2026-58271","published":"2026-09-21","fixed":"2.4.0","kev":false},{"cve":"CVE-2026-58272","published":"2026-09-21","fixed":"2.4.1","kev":false}],"package":"npm:@sync-in/server"}}