{"id":"CVE-2026-58269","title":"Sync-in Server is an open-source platform for file storage, sharing, collaboration, and syncing","summary":"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 a…","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","cwe":["CWE-288"],"vendor":"Sync-in","product":"server","affected":["server < 2.4.0"],"published":"2026-09-21","updated":"2026-09-21","sourceUpdated":"2026-09-21T20:17:26.837","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-58269","references":[{"url":"https://github.com/Sync-in/server/security/advisories/GHSA-92cr-jxw4-5wjg","label":"security-advisories@github.com"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58269"},{"url":"https://github.com/Sync-in/server/pull/228"},{"url":"https://github.com/Sync-in/server/commit/3ec74e2ea1f538fe1a3ac9487bdf24a19e548361"},{"url":"https://github.com/Sync-in/server/releases/tag/v2.4.0"},{"url":"https://github.com/advisories/GHSA-92cr-jxw4-5wjg"}],"tags":["nvd","cve.org","ghsa","npm"],"ingestedAt":"2026-09-21T20:52:58.283Z","aliases":["GHSA-92cr-jxw4-5wjg"],"ecosystem":"npm","patched":["@sync-in/server 2.4.0"],"slug":"CVE-2026-58269","body":"## Overview\n\nSync-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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-58269)\n\nAffected packages:\n\n- `@sync-in/server <= 2.3.0`\n\nPatched in:\n\n- `@sync-in/server 2.4.0`\n\nSource: https://github.com/advisories/GHSA-92cr-jxw4-5wjg","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":44.6,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}