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.
Published: 2026-09-21
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: TOTP brute-force leads to credential compromise and permanent disabling of MFA, enabling full JWT acquisition.
Action: Immediate Patch
AI Analysis

Impact

The vulnerability allows an attacker to repeatedly send registration requests with a guessed time‑based OTP; the lockout mechanism never activates due to an oversight that prevents the attempt counter from incrementing. A successful OTP guess grants the attacker a client ID and token pair. The token can be exchanged for a full JWT, and the attacker can then call an endpoint to permanently disable two‑factor authentication for the user, removing an important security boundary and enabling ongoing session hijacking or data exfiltration.

Affected Systems

Sync‑In team’s open‑source server platform is affected for all releases older than version 2.4.0. Users running those versions with the registration endpoint exposed are at risk.

Risk and Exploitability

The CVSS score of 6.8 indicates that the issue is a moderate‑severity flaw that could allow attackers to gain privileged access. No EPSS score is provided, and the vulnerability is not listed in the CISA KEV catalogue, so there is no evidence of active exploitation at this time. The attack vector is inferred to be network‑based: an attacker who can reach the registration API can launch brute‑force attempts against a user’s OTP. Once an OTP is discovered, the attacker can obtain a session token and disable MFA, thereby achieving long‑term compromise of the target account.

Generated by OpenCVE AI on September 21, 2026 at 22:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Sync‑In server to version 2.4.0 or later, where the OTP counter increment and lockout logic have been corrected.
  • Restrict the POST /api/app/sync/register endpoint to trusted IP ranges or apply application‑level rate limiting to reduce brute‑force feasibility.
  • Track authentication failures in logs and, if repeated OTP attempts are detected, disable the affected account or enforce MFA re‑enrollment.

Generated by OpenCVE AI on September 21, 2026 at 22:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-274f-6w77-8qm9 @sync-in/server vulnerable to TOTP Brute-Force via `POST /api/app/sync/register`
History

Fri, 25 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 21 Sep 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Sync-in
Sync-in server
Vendors & Products Sync-in
Sync-in server

Mon, 21 Sep 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title @sync-in/server vulnerable to TOTP Brute-Force via `POST /api/app/sync/register`
Weaknesses CWE-307
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-24T22:36:41.527Z

Reserved: 2026-06-29T21:54:30.332Z

Link: CVE-2026-58271

cve-icon Vulnrichment

Updated: 2026-09-24T22:36:36.851Z

cve-icon NVD

Status : Deferred

Published: 2026-09-21T20:17:26.993

Modified: 2026-09-24T23:17:12.723

Link: CVE-2026-58271

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T22:15:17Z

Weaknesses
  • CWE-307

    Improper Restriction of Excessive Authentication Attempts