Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid username and password
-
DeliveryObserve one consumed TOTP code
-
ExploitResubmit code whitespace-padded to login API
-
ExecutionBypass single-use replay check
-
ImpactReceive session token for the account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Replay attack prevention
|
| Exploitation Conditions | Exploitation requires ALL of: (1) the target account has TOTP/2FA enabled in Vikunja; (2) the attacker already possesses the victim's valid username and password; (3) the attacker observes a passcode the victim has actually consumed; and (4) the whitespace-padded replay is submitted to the /api/v1/login endpoint within the TOTP validity window (advisory cites ~90 seconds). Limiting factors: this is a bypass of the SECOND factor only, so an attacker lacking the primary credentials gains nothing; the narrow replay window and the need to capture a specific used code correspond to the AC:H and AT:P metrics; affected versions are 2.2.1 through 2.7.1 only. The advisory states the fix is upgrading to 2.8.0; no separate workaround is given. |
| Impact | This is a moderate-severity MFA weakness, not a high-urgency emergency, and the signals are internally consistent. The vendor CVSS 4.0 vector (CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N, base 6.3) describes a network-reachable but high-complexity flaw with a present attack requirement (AT:P) and only limited integrity impact - matching the mechanism in the GHSA advisory, where the single-use replay key is built from the raw passcode string while the verifier strips whitespace, so a consumed code can be resubmitted whitespace-padded. The vuln.today decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing and no EPSS score in the supplied data, which together point to a real but non-urgent defense-in-depth issue rather than mass exploitation. The one strengthening signal is that the GHSA advisory is runtime-verified and ships curl reproduction steps, so a working trigger is public. The practical limiter, under-weighted by a raw CVSS read, is that an attacker must ALREADY possess the victim's valid username and password AND observe one of that victim's consumed TOTP codes within the ~90-second window - so this erodes the second factor for an attacker who has already defeated the first, rather than granting standalone unauthenticated access. Net: patch on a normal cycle; it is not a drop-everything issue absent the credential and observation prerequisites. |
| Exploit ScenarioDerived | An attacker who already knows a target's Vikunja username and password, but is blocked by TOTP, captures one legitimately used 6-digit passcode (e.g. via shoulder-surfing, a logging proxy, or a replayed request). Within the ~90-second validity window they resubmit the same code to /api/v1/login padded with surrounding whitespace (e.g. " 936322 "), which bypasses the single-use replay check and returns HTTP 200 with a valid session token. The GHSA advisory includes runtime-verified curl reproduction steps demonstrating exactly this. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
Vikunja 2.2.1 through 2.7.1 fails to enforce single-use semantics for TOTP passcodes: code consumed via the login API can be resubmitted within the validity window with surrounding whitespace, and the server issues a session token. The defect only matters for accounts with TOTP/2FA enabled and only for an attacker who already holds the victim's username and password and has observed a code the victim actually used, so it is a second-factor bypass rather than a path to unauthenticated access; no public exploit has been identified at time of analysis and the vulnerability is not in CISA KEV. Severity is moderate (CVSS 4.0 base 6.3; independently assessed CVSS 3.1 AV:N/AC:H/PR:N/UI:N/C:N/I:L/A:N), and the vendor-released fix is Vikunja 2.8.0.
RemediationAI
Vendor-released patch: upgrade Vikunja to 2.8.0 or later, which corrects the replay-key derivation in pkg/user/totp.go so whitespace variants of an already-consumed code are rejected; Go builds should move the go/code.vikunja.io/api dependency to the fixed 2.8.0 release. The vendor advisory (https://github.com/go-vikunja/vikunja/security/advisories/GHSA-cxqw-2wh9-h8c9) documents the upgrade as the fix and gives no separate workaround, so no configuration-level mitigation is confirmed. Note that the exposure is confined to accounts with TOTP/2FA enabled and requires the attacker to already hold the account's username and password plus a code the user has just used, so prioritizing the 2.8.0 upgrade on internet-facing instances with 2FA-enrolled users addresses the realistic risk; this is a this-month priority per the vulnerability's decision label rather than an emergency, and no public exploit has been identified at time of analysis.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Vikunja is a Go task/issue tracker; the 2FA logic lives in pkg/user/totp.go in the Go module go/code.vikunja.io/api, which is the affected component per the GitHub advisory (vulnerable range >= 2.2.1, <= 2.7.1). The implementation of ValidateTOTPPasscode trims surrounding whitespace before verifying the submitted digits against the current time-based one-time password, but derives the single-use replay key from the raw, untrimmed input string. Because " 936322 " and "936322" hash to different replay keys while both validate to the same TOTP value, the consumed-code check is never hit and the padded variant is treated as a fresh code. This is CWE-294 (Authentication Bypass by Capture-replay): the time-step validity window referenced by the advisory (roughly 90 seconds) is the only limit on replaying a captured code. The upstream advisory reports the behaviour was runtime-verified against a test account with TOTP enabled, using two POSTs to /api/v1/login with the plain and the whitespace-padded totp_passcode; the CPE cpe:2.3:a:go-vikunja:vikunja identifies the affected product. The assessed vector's AC:H and AT:P metrics reflect how narrow the conditions are - the attacker must simultaneously hold valid primary credentials, observe a specific code the victim has just consumed, and replay it inside that short window - and the impact is scored as integrity-only (I:L) because the result is issuance of a session token that should have been denied, not direct data disclosure or service disruption.
Know when Vikunja gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network login endpoint (AV:N); AC:H because the attacker must capture a used code and replay it within a short window; PR:N as no Vikunja session exists yet; impact limited to the TOTP control, so I:L, C:N, A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Vikunja from 2.2.1 before 2.8.0 contains a TOTP replay protection bypass in ValidateTOTPPasscode that allows attackers to reuse consumed codes by padding them with whitespace. Attackers with valid credentials who observe a used passcode can resubmit it whitespace-padded to the login API within the validity window to obtain a session token.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Cross-tenant information disclosure in the self-hosted task manager Vikunja (0.24.0 through 2.3.0) lets a holder of any
Weak password policy in Vikunja task management before 2.0.0 allows users to set trivially guessable passwords. PoC avai
Principal type confusion in Vikunja (versions 0.22.0-2.3.0) allows an authenticated low-privilege attacker to fully cont
Stored cross-site scripting (XSS) in Vikunja prior to version 2.0.0 allows authenticated attackers to steal authenticati
Vikunja before version 2.0.0 contains a path traversal vulnerability in its backup restoration function that fails to va
Vikunja is an open-source self-hosted task management platform. [CVSS 6.1 MEDIUM]
Business logic vulnerability in Vikunja task management platform before 2.1.0 allows incomplete resource cleanup, potent
Instance-wide data breach in Vikunja before 2.2.1 lets remote attackers exfiltrate and destroy every file attachment acr
Vikunja's OIDC callback handler issues a full JWT to any successfully matched user without checking whether that account
Vikunja instances before 2.6.0 expose CalDAV BasicAuth endpoints (/dav, /.well-known, and /feeds) that are not covered b
Vikunja versions before 2.6.0 ship authentication endpoints under /api/v2 (login, register, password-reset, and OAuth to
Vikunja prior to 2.6.0 leaks the secret hash that backs a project's link shares through its single-share read endpoint,
EUVD-2026-132221
GHSA-84rv-whvr-hg5f
NVD
CVE.org
EPSS
Exploit-DB