CVE-2026-61630: Time-Based One-Time Password (TOTP) Reuse/Replay in nginx-ignition
Vulnerability ID: CVE-2026-61630
CVSS Score: 4.2
Published: 2026-09-21
nginx-ignition is a web-based user interface for managing the Nginx web server. In versions 2.33.0 through 2.35.0, the application is vulnerable to an improper authentication flaw (CWE-287) in its Multi-Factor Authentication (MFA) implementation. The stateless validation of Time-Based One-Time Passwords (TOTP) allows an attacker to reuse a captured, active verification code multiple times within the standard 30-second validity window, successfully bypassing secondary authentication checks if primary credentials are known.
TL;DR
A replay vulnerability in nginx-ignition allows attackers with primary credentials to reuse a valid, active 2FA TOTP code within its 30-second window to gain full administrative access.
⚠️ Exploit Status: POC
Technical Details
- CWE ID: CWE-287 (Improper Authentication)
- Attack Vector: Network
- CVSS v3.1 Score: 4.2 (Medium)
- Exploit Status: Proof-of-Concept / Methodology Validated
- CISA KEV Status: Not Listed
- Attack Complexity: High
- Privileges Required: High
Affected Systems
- nginx-ignition installations running versions v2.33.0 through v2.35.0
-
nginx-ignition: >= v2.33.0, <= v2.35.0 (Fixed in:
v2.35.1)
Code Analysis
Commit: 8d35e1e
Implement database constraints and tracking for the last used TOTP codes in user authentication repository.
Added state tracking database columns to store arrays of previously verified strings and implemented query checking logic to deny repeated tokens during authentication step.
Commit: 1cbfae0
Refactor MFA logic and prepare structural models for stateful TOTP validation workflows.
Modified the TOTP structural definitions inside the core user logic files to hold slice elements storing previously utilized token signatures.
Mitigation Strategies
- Upgrade nginx-ignition to version 2.35.1 or newer.
- Ensure all administrative traffic to the portal uses TLS/HTTPS with HSTS enabled to prevent packet sniffing.
- Restrict dashboard access to trusted IP ranges or VPN tunnels.
Remediation Steps:
- Identify the running version of nginx-ignition by checking the deployment configuration, release tag, or the go.mod dependencies.
- Retrieve the updated container image or pull the latest source code tag v2.35.1.
- Rebuild and redeploy the application, ensuring that database schema migrations execute successfully to apply the updated table columns.
- Verify the configuration by logging in as an administrator and attempting to reuse a freshly validated 2FA code in an adjacent session.
References
- GHSA-hf33-q6cf-c66f: TOTP 2FA Replay vulnerability in nginx-ignition
- Fix Commit: MFA Logic & Database Migrations
- Fix Commit: Test Refactoring
- Pull Request #104 - MFA Replay Security Fix
- CVE.org Official Record
Read the full report for CVE-2026-61630 on our website for more details including interactive diagrams and full exploit analysis.
Top comments (0)