Skip to main content
Vulnerability Database/CVE-2026-103655

CVE-2026-103655: MISP TOTP Authentication Bypass Vulnerability

CVE-2026-103655 is an authentication bypass flaw in MISP that allows TOTP codes to be reused within their validity window, enabling session hijacking. This post covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-103655 Overview

CVE-2026-103655 is an authentication weakness in MISP, the open-source threat intelligence sharing platform. The flaw resides in the Time-based One-Time Password (TOTP) verification step of the login workflow. MISP did not record whether a given TOTP period had already been consumed, allowing the same six-digit code to authenticate multiple sessions within its 30-second validity window. An attacker who observes a legitimate TOTP code during user login can replay it to establish an unauthorized session as that user. The vulnerability is tracked under [CWE-294: Authentication Bypass by Capture-replay] and affects MISP versions prior to v2.5.48.

Critical Impact

Captured TOTP codes can be replayed within the 30-second window to authenticate as the targeted user, exposing threat intelligence data and administrative functions.

Affected Products

  • MISP versions prior to v2.5.48
  • MISP instances with TOTP-based two-factor authentication enabled
  • User accounts relying on TOTP as their second authentication factor

Discovery Timeline

  • 2026-10-01 - CVE-2026-103655 published to NVD
  • 2026-10-01 - Last updated in NVD database

Technical Details for CVE-2026-103655

Vulnerability Analysis

MISP implements TOTP as a second authentication factor during user login. The server validates the submitted six-digit code against the user's stored secret using the standard RFC 6238 algorithm. Each TOTP code remains cryptographically valid for one 30-second period.

The vulnerable implementation accepted any syntactically valid code for the current period, without tracking whether that specific period had already been consumed by a successful login. This behavior violates the single-use property required by the TOTP specification. An attacker observing the code through network interception, shoulder surfing, or a compromised client can submit the same value within the remaining window to authenticate a second concurrent session.

Successful exploitation yields full account access with the privileges of the targeted user. On MISP deployments, this includes access to threat intelligence feeds, event data, correlation results, and any administrative functions assigned to the compromised account.

Root Cause

The UsersController login handler called $totp->verify() without binding the verification to a server-side nonce or consumed-step record. Because no state was persisted after a successful verification, the same code passed validation repeatedly until the TOTP period expired.

Attack Vector

Exploitation requires the attacker to capture a victim's TOTP code during a legitimate authentication attempt. Viable capture paths include network-level interception against sessions lacking strict transport protections, physical observation of the authenticator app, or malware on the user's endpoint. The attacker then submits the captured code to the MISP login endpoint before the 30-second window closes.

php
            }
            $secret = $user['totp'];
            $totp = \OTPHP\TOTP::create($secret);
-            if ($totp->verify(trim($this->request->data['User']['otp']))) {
+            $now = time();
+            if ($totp->verify(trim($this->request->data['User']['otp']), $now) && $this->__claimTotpStep($user['id'], $totp, $now)) {
                // OTP is correct, we login the user with CakePHP
                $this->Session->delete('otp_user');
                $this->Auth->login($user);

Source: GitHub MISP Commit a020fa47b

The patch introduces __claimTotpStep(), which records the consumed TOTP period for the user. Subsequent verification attempts against the same step are rejected even if the code is still arithmetically valid.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-103655

Indicators of Compromise

  • Two successful login events for the same MISP user account within a single 30-second window from distinct source IP addresses or user agents.
  • Concurrent active sessions for a single account where only one login was expected.
  • Authentication logs showing repeated submissions of identical TOTP values within the same time step.

Detection Strategies

  • Correlate MISP Users audit log entries by user_id and timestamp to identify successful second-factor completions less than 30 seconds apart.
  • Alert on new session establishment from a geolocation or ASN that differs from the user's historical baseline immediately after a legitimate login.
  • Review web server access logs for duplicate POST requests to the /users/login endpoint carrying matching OTP payloads.

Monitoring Recommendations

  • Forward MISP application logs and reverse-proxy access logs to a centralized logging platform for correlation and retention.
  • Enable session telemetry that records source IP, user agent, and session creation time for every authenticated MISP session.
  • Monitor for anomalous administrative actions following suspicious login events, including modifications to users, roles, or sharing groups.

How to Mitigate CVE-2026-103655

Immediate Actions Required

  • Upgrade MISP to version v2.5.48 or later, which includes the __claimTotpStep() enforcement.
  • Audit recent authentication logs for duplicate TOTP acceptance events and invalidate suspicious sessions.
  • Force a password and TOTP secret reset for any accounts showing evidence of concurrent session establishment.

Patch Information

The fix is committed in MISP commit a020fa47b within app/Controller/UsersController.php. The patch records each consumed TOTP step server-side and rejects any subsequent verification attempt that targets the same step. Administrators should pull the official release containing this commit rather than cherry-picking the change. Refer to the GitHub MISP Commit a020fa47b for the exact code change.

Workarounds

  • Enforce HTTPS with HSTS across all MISP endpoints to reduce the risk of TOTP interception on the network path.
  • Restrict MISP administrative access to trusted networks or VPN tunnels while patching is scheduled.
  • Shorten MISP session lifetimes and require re-authentication for sensitive actions to limit the value of a replayed login.
  • Where feasible, migrate privileged accounts to hardware-backed WebAuthn or FIDO2 authenticators, which are not vulnerable to replay.
bash
# Verify installed MISP version and upgrade
cat /var/www/MISP/VERSION.json
cd /var/www/MISP && sudo -u www-data git fetch --tags
sudo -u www-data git checkout v2.5.48
sudo -u www-data /var/www/MISP/app/Console/cake Admin runUpdates

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.