{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "8.6.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "46d5234fd73d5fb928af43eb67d3bf7643d53115"
            },
            {
              "fixed": "4d06e8176883e2d8f1c91afe77ec0511959ceb91"
            }
          ],
          "repo": "https://github.com/grokability/snipe-it",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mr8g-2mj4-pcq2"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49870.json"
  },
  "details": "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.",
  "id": "CVE-2026-49870",
  "modified": "2026-08-23T03:42:24.197560966Z",
  "published": "2026-08-19T18:13:05.368Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/grokability/snipe-it/releases/tag/v8.6.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49870.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/grokability/snipe-it/security/advisories/GHSA-mr8g-2mj4-pcq2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49870"
    },
    {
      "type": "FIX",
      "url": "https://github.com/grokability/snipe-it/commit/46d5234fd73d5fb928af43eb67d3bf7643d53115"
    },
    {
      "type": "FIX",
      "url": "https://github.com/grokability/snipe-it/pull/19072"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Snipe-IT: TOTP Brute-Forceable Due to Missing Rate Limiting on `POST /two-factor`"
}