Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain victim authenticated session
-
ExploitCall TOTP enroll endpoint (no password)
-
ExecutionEnable TOTP with attacker-controlled secret
-
ImpactLock owner out persistently past password reset
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must already hold a valid authenticated session for the target Vikunja account (PR:L) - obtained via a stolen/leaked session token, an unattended logged-in browser, or chained from the separately-reported OAuth issue GHSA-2jgx-846q-5gqf; no account password is required. The flaw works against the default vikunja/vikunja:2.7.0 configuration and affects every user on default settings - the specific prerequisite is a session, not any special feature toggle. Limiting factors that reduce realistic risk: the outcome is an account lockout, not a takeover, because enabling TOTP invokes DeleteAllUserSessions and logs out the attacker too, and the attacker never learns the password; a victim who notices before their access token expires (up to ~10 minutes) can still self-service DisableTOTP; and durable attacker access requires a separately-minted credential such as an API token (GHSA-4qvp-948j-4cgv). |
| Impact | This is a moderate-severity, time-sensitive issue rather than a critical emergency. The supplied CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H) scores 6.0 and the vuln.today priority is 'this_month', not act_now/emergency. The signals are internally consistent with a low-privilege (PR:L) account-lockout condition: availability impact is High (VA:H) and integrity Low (VI:L) because the attacker alters account state, while confidentiality is None (VC:N) because no data is read - this is a lockout/denial-of-account, not a takeover. It is NOT in CISA KEV, so exploitation status is 'no public exploit identified as actively exploited'; however the GHSA advisory publishes concrete step-by-step reproduction (curl-based), so working reproduction detail is public. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be stated. The practical ceiling on risk is important: enabling TOTP deletes ALL sessions including the attacker's, and the attacker still does not know the password, so this alone cannot hand over the account - it denies it. Real priority is driven by the persistence of the lockout (survives password reset, recoverable only via direct database edit) and by chaining with separately-tracked issues (API-token minting GHSA-4qvp-948j-4cgv, OAuth session theft GHSA-2jgx-846q-5gqf) for durable attacker access. |
| Exploit ScenarioDerived | An attacker who briefly obtains a victim's authenticated session (an unattended browser, a leaked token, or via the separately-reported OAuth issue) calls the TOTP enroll and enable endpoints with a secret only they control - no account password is requested. The victim is then locked out: logging in with the correct password returns a 412 'Invalid totp passcode' error that persists even after a full email password reset, and recovery requires a direct database edit by the operator. The GHSA advisory includes a working curl-based proof-of-concept for this chain. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
Account lockout in Vikunja through 2.7.0 lets anyone who briefly holds a valid session for a user account enroll and enable TOTP with a secret of their own choosing, without ever supplying the account password, because the TOTP enrollment and enable endpoints perform no step-up authentication. The consequence is a denial-of-service against the account owner: enabling TOTP also deletes all of the user's sessions, so the owner cannot log in even with the correct password, and a self-service password reset does not clear the second factor. It is a lockout rather than a takeover (the attacker's own session is destroyed and the password is never learned), but durable attacker access can follow if the session holder first mints an API token, which survives the session wipe. The vendor advisory includes a public reproduction using curl against a default vikunja/vikunja:2.7.0 instance; there is no CISA KEV listing for this issue, and the assessed severity is moderate with a 'this month' remediation priority.
RemediationAI
Upgrade to Vikunja 2.7.1, which is the vendor-released fix and requires the current account password on TOTP enroll and enable so that a bare session is no longer sufficient; the fixed version resolves go/code.vikunja.io/api <= 2.7.0 as noted in GHSA-h4q3-mc9r-q7vv. Operators who cannot patch immediately should be aware that the advisory identifies no configuration toggle or feature flag that removes the exposure, so the practical compensating controls are operational: shorten session lifetimes and access-token expiry so a stolen session has a smaller window (the owner's existing access token remains valid only until it expires, up to about 10 minutes, during which a user who notices the lockout can still self-service DisableTOTP), and treat unexpected login failures returning HTTP 412 with code 1017 'Invalid totp passcode' as a possible sign of malicious TOTP enrollment. If a user is already locked out, the advisory states there is no admin or CLI route to clear TOTP in the affected releases and recovery requires a direct database edit by the operator, so pre-authorizing an operator procedure for that edit is the only documented recovery path; hardening the surrounding session and token surfaces should also account for the companion advisories on the unthrottled password re-check endpoints (GHSA-49pj-52x6-8gpj) and on stolen sessions minting API tokens (GHSA-4qvp-948j-4cgv), the latter of which can outlive the TOTP lockout. Because the flaw is rated 'this month' rather than an emergency, patching can be scheduled in the normal maintenance cycle, but accounts with elevated privileges or known session leakage should be prioritized.
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
The flaw is a textbook CWE-306 (Missing Authentication for Critical Function) case, specifically a missing step-up (re-authentication) check. Vikunja's Go API exposes UserTOTPEnroll (pkg/routes/api/v1/user_totp.go:64) and UserTOTPEnable (:99), and the equivalent v2 handlers (pkg/routes/api/v2/user_totp.go:187 and :206), which are gated only on an existing authenticated session rather than on proof of the account password. Because the enable handler also calls DeleteAllUserSessions (:125 in v1, :210 in v2), the operation forcibly terminates every active session, including the attacker's, which is why the outcome is lockout and not account takeover. Recovery is structurally blocked: DisableTOTP is only reachable through the self-service route, so a locked-out user cannot invoke it, and pkg/cmd contains no TOTP management command, leaving a direct database edit as the only operator-side recovery path. The affected code ships as the Go module go/code.vikunja.io/api (vulnerable <= 2.7.0, fixed in 2.7.1), corresponding to CPE cpe:2.3:a:go-vikunja:vikunja. Confirmation was on v2.7.0 and main at commit e7d7f173e, on default configuration, affecting every user regardless of feature toggles; the only prerequisite is possession of a session, obtained by theft, an unattended browser, or chained from the separately reported OAuth issue GHSA-2jgx-846q-5gqf. Two related weaknesses are tracked apart from this CVE: the unthrottled password re-check endpoints (GHSA-49pj-52x6-8gpj) and the ability of any stolen session to mint an API token (GHSA-4qvp-948j-4cgv), the latter being what converts a transient lockout into persistent access. The CNA scored this CVSS 4.0 at 6.0 (AC:H/AT:P); the independent assessment rates it CVSS 3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H, reflecting low attack complexity once a session is held and high availability impact on the account.
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:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Remote API calls (AV:N) that are straightforward to execute (AC:L) but require a pre-existing low-privilege session (PR:L); impact is account lockout, so A:H and I:L with no confidentiality effect (C:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Vikunja before 2.7.1 contains a missing authentication vulnerability that allows attackers holding a stolen session to enroll and enable TOTP without the account password. Attackers can call the TOTP enroll and enable endpoints with their own secret to lock the owner out, persisting even after password reset.
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.
Related Vulnerabilities in Vikunja Authorization and Resource Management Flaws
View all 39Cross-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-119415
GHSA-7jfp-xpw2-2j25
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB