{"id":"CVE-2026-49870","aliases":["CVE-2026-49870","GHSA-mr8g-2mj4-pcq2"],"related":[],"kind":"vulnerability","state":"published","title":"Snipe-IT: TOTP Brute-Forceable Due to Missing Rate Limiting on `POST /two-factor`","summary":"Snipe-IT is an IT asset/license management system. Prior to 8.6.1, POST /two-factor has no rate limiting, lockout, or attempt counter, allowing an attacker with valid credentials to submit unlimited TOTP guesses against the three accepted codes created by config/google2fa.php window=1. A successful guess creates a fully authenticated session. When two_factor_enabled is 1, POST /account/profile with two_factor_optin=0 can disable two-factor authentication without OTP reverification, while required mode 2 prevents that opt-out. An administrator can also use POST /api/v1/users/two_factor_reset to clear another user's secret. This issue is fixed in version 8.6.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Snipe-IT is an IT asset/license management system. Prior to 8.6.1, POST /two-factor has no rate limiting, lockout, or attempt counter, allowing an attacker with valid credentials to submit unlimited TOTP guesses against the three accepted codes created by config/google2fa.php window=1. A successful guess creates a fully authenticated session. When two_factor_enabled is 1, POST /account/profile with two_factor_optin=0 can disable two-factor authentication without OTP reverification, while required mode 2 prevents that opt-out. An administrator can also use POST /api/v1/users/two_factor_reset to clear another user's secret. This issue is fixed in version 8.6.1.","source":"cvelist"},{"lang":"en","text":"### Impact\n`POST /two-factor` had no rate limiting, lockout, or attempt counter. An attacker with valid credentials can submit unlimited TOTP guesses. The TOTP implementation accepts the current code plus one step on either side (`config/google2fa.php window=1`), so at any instant 3 of 1,000,000 codes are accepted.\n\nAfter a correct guess the attacker holds a fully authenticated session. If the instance is configured with 2FA in optional mode (`two_factor_enabled='1'`), the attacker can additionally disable 2FA via `POST /account/profile` with `two_factor_optin=0`. No OTP re-verification is required. The account is then accessible with the password alone on future logins. If 2FA is in required-for-all mode (`='2'`), the per-user opt-out path is closed and the impact stops at session-level account takeover. For an admin target, `POST /api/v1/users/two_factor_reset` additionally clears another user's 2FA secret.\n\n### Patches\nPatched in v8.6.0","format":"markdown","source":"ghsa"},{"lang":"es","text":"Snipe-IT es un sistema de gestión de activos/licencias de TI. Anterior a la versión 8.6.1, POST /two-factor no tiene limitación de velocidad, bloqueo o contador de intentos, permitiendo a un atacante con credenciales válidas enviar intentos ilimitados de TOTP contra los tres códigos aceptados creados por config/google2fa.php window=1. Un intento exitoso crea una sesión completamente autenticada. Cuando two_factor_enabled es 1, POST /account/profile con two_factor_optin=0 puede deshabilitar la autenticación de doble factor sin reverificación de OTP, mientras que el modo requerido 2 evita esa exclusión voluntaria. Un administrador también puede usar POST /api/v1/users/two_factor_reset para borrar el secreto de otro usuario. Este problema está solucionado en la versión 8.6.1.","source":"nvd"}],"published":"2026-06-23T22:32:04.000Z","modified":"2026-10-24T16:10:00.153Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"< 8.6.1","status":"affected"}],"vendor":"grokability","product":"snipe-it","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"8.6.0"}],"ecosystem":"Packagist","package":"snipe/snipe-it","purl":"pkg:composer/snipe/snipe-it","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"8.6.1"}],"vendor":"snipeitapp","product":"snipe-it","cpe":"cpe:2.3:a:snipeitapp:snipe-it:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/grokability/snipe-it/security/advisories/GHSA-mr8g-2mj4-pcq2","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/grokability/snipe-it/pull/19072","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/grokability/snipe-it/commit/46d5234fd73d5fb928af43eb67d3bf7643d53115","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/grokability/snipe-it/releases/tag/v8.6.1","tags":["patch","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/grokability/snipe-it","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-21T20:59:00.966Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49870","url":"https://www.cve.org/CVERecord?id=CVE-2026-49870","licence":"CVE Terms of Use","modified":"2026-08-21T21:49:16.895Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mr8g-2mj4-pcq2","url":"https://github.com/advisories/GHSA-mr8g-2mj4-pcq2","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:08.984Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49870","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49870","licence":"Public domain","modified":"2026-10-24T16:10:00.153Z"}],"updatedAt":"2026-11-25T22:59:34.023Z","epss":{"score":0.0032,"percentile":0.26922,"date":"2026-12-01T12:00:22.000Z"}}