{"id":"CVE-2026-103651","aliases":["CVE-2026-103651"],"related":[],"kind":"vulnerability","state":"published","title":"MISP HOTP Token Replay via Stale Session-Cached Counter Allows Second-Factor Authentication Bypass","summary":"MISP contains a vulnerability in its one-time password (OTP) authentication flow that allows replay of a consumed HOTP (paper) token and rewinding of the token counter.\n\nThe HOTP verification logic compared the submitted token against a counter value that was cached in the user's session at the time the password was entered, rather than against the authoritative counter stored in the database. Because the session-cached counter is not updated after a token is successfully consumed, an attacker who holds a valid session (password already submitted) can reuse a previously burned HOTP token. The stale cached counter still matches the replayed token, granting a second successful authentication and effectively rewinding the counter state.\n\nPreconditions:\n\n- The target user has HOTP (paper token) second-factor authentication enabled.\n\n- The attacker possesses a valid session in which the password step has already been completed (the OTP step is pending).\n\n- The attacker has access to at least one HOTP token value (e.g., a paper token list).\n\nSecurity impact:\n\n- Bypass of the second authentication factor, allowing unauthorized access to a user's MISP account.\n\n- Corruption of the HOTP counter state, potentially invalidating subsequent legitimate tokens or enabling further replays.\n\nAffected versions: <2.5.48.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"MISP contains a vulnerability in its one-time password (OTP) authentication flow that allows replay of a consumed HOTP (paper) token and rewinding of the token counter.\n\nThe HOTP verification logic compared the submitted token against a counter value that was cached in the user's session at the time the password was entered, rather than against the authoritative counter stored in the database. Because the session-cached counter is not updated after a token is successfully consumed, an attacker who holds a valid session (password already submitted) can reuse a previously burned HOTP token. The stale cached counter still matches the replayed token, granting a second successful authentication and effectively rewinding the counter state.\n\nPreconditions:\n\n- The target user has HOTP (paper token) second-factor authentication enabled.\n\n- The attacker possesses a valid session in which the password step has already been completed (the OTP step is pending).\n\n- The attacker has access to at least one HOTP token value (e.g., a paper token list).\n\nSecurity impact:\n\n- Bypass of the second authentication factor, allowing unauthorized access to a user's MISP account.\n\n- Corruption of the HOTP counter state, potentially invalidating subsequent legitimate tokens or enabling further replays.\n\nAffected versions: <2.5.48.","source":"cvelist"}],"published":"2026-10-01T07:34:02.597Z","modified":"2026-10-01T16:17:37.313Z","severity":{"scorer":"CIRCL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"CIRCL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.6,"rating":"HIGH"}],"cwes":["CWE-287","CWE-362"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.5.48","status":"affected"}],"vendor":"MISP","product":"MISP","cpe":"cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*","repo":"https://github.com/MISP/MISP","source":"cvelist"}],"references":[{"url":"https://github.com/MISP/MISP/commit/f34aee2c7","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Tanguy Snoeck of NCIA","iglocska","Claude Opus 5.5 (1M context)"],"assigner":"CIRCL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-01T15:31:56.170Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-103651","url":"https://www.cve.org/CVERecord?id=CVE-2026-103651","licence":"CVE Terms of Use","modified":"2026-10-01T15:32:08.372Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-103651","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103651","licence":"Public domain","modified":"2026-10-01T16:17:37.313Z"}],"updatedAt":"2026-11-25T22:59:41.794Z","epss":{"score":0.00196,"percentile":0.0973,"date":"2026-12-01T12:00:22.000Z"}}