All vulnerabilities

Servers and applications

CVE-2026-49870

TOTP Brute-Forceable Due to Missing Rate Limiting on `POST /two-factor`

Severity
Medium 5.9
Published
8 Jun 2026
Last changed
24 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
8.6.0, 8.6.1
Exploit chance
0.4% in the next 30 daysHigher than 35% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Allocation without limits (CWE-770)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
Also known as
GHSA-mr8g-2mj4-pcq2
Sources
NVD, Project advisories (GitHub)

Description

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.

After 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.

From grokability/snipe-it's security advisory.

Affected software

SoftwareAffected versions
Snipe-ITServers and applications · cpe:a:snipeitapp:snipe-it
  • Every version before 8.6.1
Snipe-ITServers and applications · github:grokability/snipe-it
  • Every version before 8.6.0

About Snipe-IT

A free open source IT asset/license management system

From its GitHub repository.
Docker Hub pulls
29,869,543Docker Hub, 15 Nov 2026
GitHub stars
15,189GitHub, 15 Nov 2026
Forks
4,068GitHub, 15 Nov 2026
Latest release
v8.8.3GitHub, 15 Nov 2026
Released
22 Oct 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
12 Nov 2013GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-49870
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-49870
  • GitHub Advisory Database https://github.com/advisories/GHSA-mr8g-2mj4-pcq2
  • github.com https://github.com/grokability/snipe-it/security/advisories/GHSA-mr8g-2mj4-pcq2