PT-2026-51618 · Packagist · Snipe/Snipe-It

Published

2026-06-23

·

Updated

2026-06-23

·

CVE-2026-49870

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N

Impact

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.

Patches

Patched in v8.6.0

Fix

Allocation of Resources Without Limits

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-49870
GHSA-MR8G-2MJ4-PCQ2

Affected Products

Snipe/Snipe-It