{"id":"CVE-2026-58269","published":"2026-09-21T20:17:26.837","lastModified":"2026-09-21T20:17:26.837","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.","cvssScore":8.1,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","cwes":["CWE-288"],"vendors":[],"products":[],"references":[{"url":"https://github.com/Sync-in/server/security/advisories/GHSA-92cr-jxw4-5wjg","tags":[]}],"exploitRefs":[{"url":"https://github.com/Sync-in/server/security/advisories/GHSA-92cr-jxw4-5wjg","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows an attacker with stolen or phished credentials to bypass two-factor authentication (2FA) in a single request by exploiting the `POST /api/auth/token` endpoint before version 2.4.0, enabling unauthorized access.","exploitability":"Exploitation is relatively easy given that attackers need only steal or phishing obtain valid credentials and send them to the vulnerable endpoint.","blast_radius":"If exploited, this could lead to full account compromise for users with 2FA enabled, as the attacker would gain full access without needing to bypass 2FA.","remediation":"Upgrade to Sync-in Server version 2.4.0 or later to apply the necessary security patch.","tags":["auth-bypass","web","api","security-patch"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-22T06:09:23.820Z"}}