SecurityContext

CVE-2026-58271: Sync-in Server - Authentication Bypass

  • Cve: CVE-2026-58271
  • Name: Sync-in Server - Authentication Bypass
  • 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.
  • Impact: Attackers can bypass multi-factor authentication, obtain valid JWT tokens, and disable MFA, leading to full account compromise.
  • Remediation: Update to version 2.4.0 or later.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: broken_authentication
  • Requirement type: logged_in
  • Requirements: Attacker needs valid user credentials and ability to attempt TOTP codes
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.8
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00219
  • Epss percentile: 0.12419
  • Assignee: [email protected]
  • Published at: 2026-09-21T20:17:26Z
  • Age in days: 64
  • Modified at: 2026-09-24T23:17:12Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-58271
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-307Improper Restriction of Excessive Authentication Attempts

References

UrlSourceTags
https://github.com/Sync-in/server/security/advisories/GHSA-274f-6w77-8qm9nvd

Products

ProductAffectedPlatform boundSourcesUrl
sync-in:sync-in_server< 2.4.0nocna_alias_text/v1/products/sync-in/sync-in_server

Projects

RepositoryLink kindsIndexedUrl
Sync-in/servercommit, package, pull, releases, security_advisoryyes/v1/repositories/Sync-in/server

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts