{"id":"CVE-2026-58269","published":"2026-09-21T20:17:26.837","lastModified":"2026-09-24T23:17:12.460","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":[]},{"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":[]},{"url":"https://github.com/Sync-in/server/security/advisories/GHSA-92cr-jxw4-5wjg","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows an attacker to bypass two-factor authentication (2FA) by exploiting the `POST /api/auth/token` endpoint, which returns full access tokens without checking 2FA status.","exploitability":"Exploitation is relatively easy if an attacker has stolen or phished credentials, as 2FA is bypassed in a single request.","blast_radius":"If exploited, the attacker gains full access to the user's account, potentially leading to data theft or unauthorized actions.","remediation":"Upgrade to version 2.4.0 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["auth-bypass","web","api","2fa"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-03T09:05:55.070Z"}}