CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-28268

Vikunja Password Reset Mechanism Logic Errors Allowing Persistent Account Takeover

Alon Barad
Alon Barad
Software Engineer

Feb 28, 2026·6 min read·81 visits

Executive Summary (TL;DR)

Vikunja versions < 2.1.0 fail to delete password reset tokens after use and fail to clean up expired tokens due to a logic bug in the cron job. This allows valid tokens to be reused indefinitely for account takeover. Fixed in v2.1.0.

A critical authentication bypass vulnerability exists in Vikunja, an open-source task management platform, affecting versions prior to 2.1.0. The vulnerability stems from two concurrent logic errors in the password reset workflow: a failure to invalidate reset tokens upon successful use and a malformed background cleanup process that failed to purge expired tokens. These flaws allow an attacker who obtains a password reset token—via interception, logs, or history—to reuse it indefinitely to reset the target user's password, facilitating persistent account takeover. The issue is addressed in version 2.1.0 by correcting the token deletion logic and fixing the expiration query.

Vulnerability Overview

Vikunja is a self-hosted, open-source task management platform written in Go. Authentication mechanisms in such systems are critical for maintaining tenant isolation and data integrity. CVE-2026-28268 identifies a catastrophic failure in the application's password recovery workflow, specifically within the pkg/user module.

The vulnerability is classified as a business logic error involving incomplete cleanup (CWE-459) and weak password recovery mechanisms (CWE-640). Normally, a password reset token functions as a one-time nonce: once a user successfully resets their password, the token must be invalidated immediately to prevent replay attacks. Additionally, tokens should have a short lifespan enforced by a background process.

In affected versions of Vikunja, neither of these safety mechanisms functioned correctly. The application failed to delete the specific password reset token after use, and the background cleanup job contained an inverted logic operator that preserved expired tokens indefinitely. Consequently, a single leaked token grants an attacker a permanent backdoor into the victim's account, bypassing all subsequent authentication checks.

Root Cause Analysis

The vulnerability is the result of two distinct implementation errors in the Go backend that compounded to create a persistent threat.

1. Incorrect Token Invalidation Target The primary flaw resides in pkg/user/user_password_reset.go. The ResetPassword function is responsible for verifying the token, updating the user's password, and performing cleanup. However, the cleanup call was misconfigured. Instead of requesting the deletion of TokenPasswordReset type tokens, the code instructed the system to delete TokenEmailConfirm tokens. This logic error meant that while the password was successfully changed, the reset token remained active in the database, marked as valid.

2. Inverted Expiration Logic A secondary but equally critical flaw existed in the background cron job responsible for database hygiene, located in pkg/user/token.go. The SQL query intended to delete expired tokens used an inverted comparison operator (> instead of <). Instead of deleting tokens where the expiration date was in the past, the system attempted to delete tokens where the expiration date was in the future. This effectively preserved all old, expired tokens while potentially interfering with valid, newly created tokens. This ensured that even if a token 'expired' logically according to its timestamp, it was never physically removed from the database, allowing the validation logic (which presumably checked existence first) to potentially accept it depending on how strict the read-time expiration check was implemented.

Code Analysis

The remediation of this vulnerability provides a clear view of the logic error. The fix was applied in pkg/user/user_password_reset.go within the ResetPassword function. The code below illustrates the critical difference between the vulnerable and patched states.

Vulnerable Code (Before Patch): In the vulnerable version, the developer inadvertently passed the constant TokenEmailConfirm to the removal function. This constant maps to a different integer value than the password reset token type, leaving the actual reset token untouched in the persistence layer.

// pkg/user/user_password_reset.go
 
// ... password update logic ...
 
// CRITICAL BUG: Removes email confirmation tokens instead of reset tokens
err = removeTokens(s, user, TokenEmailConfirm)
if err != nil {
    return err
}

Patched Code (Version 2.1.0): The fix involves a one-line change to target the correct token type constant (TokenPasswordReset). This ensures that once the ResetPassword function completes, the token used to authorize that request is permanently destroyed.

// pkg/user/user_password_reset.go
 
// ... password update logic ...
 
// FIX: Correctly targets the password reset token type for deletion
err = removeTokens(s, user, TokenPasswordReset)
if err != nil {
    return err
}

By correctly identifying the token type, the system enforces the one-time-use policy required for secure authentication workflows.

Exploitation Scenarios

The exploitation of CVE-2026-28268 is trivial once a token is acquired, as it requires no special tooling or race conditions. The difficulty lies solely in the initial acquisition of the token.

Token Leakage Channels Since the token is part of a URL, it is susceptible to leakage via several standard channels:

  • Browser History: If an attacker has physical access to a victim's machine or synced browser data, they can retrieve the reset URL.
  • Proxy/Server Logs: In corporate environments, full URLs including query parameters are often logged by intermediate proxies or WAFs.
  • Phishing: An attacker could trigger a reset request and deceive the user into forwarding the link (e.g., claiming it's a "security verification" link).

Attack Lifecycle

  1. Acquisition: The attacker obtains the token vikunja.example.com/reset/TOKEN_STRING.
  2. Validation: The attacker sends a POST request to the API endpoint with the token. Because the token was never deleted, the server accepts it.
  3. Takeover: The attacker sets a new password. The victim is locked out.
  4. Persistence: Even if the victim regains control via admin intervention, if the specific vulnerable token is not manually purged from the database, the attacker can re-use the same token immediately to reset the password again, maintaining a persistent hold on the account.

Impact Assessment

The impact of this vulnerability is rated as Critical (CVSS 9.8) due to the complete bypass of authentication controls it affords.

Confidentiality Impact (High): An attacker can access all tasks, projects, and private notes stored within the Vikunja instance. In a business context, this could include proprietary roadmaps, sensitive client data, or internal operational details.

Integrity Impact (High): The attacker has full write access to the user's account. They can modify tasks, delete projects, or inject malicious content into shared workspaces, potentially affecting other users or the organization's workflow.

Availability Impact (High): The attacker can change the password and change the associated email address (if functionality permits), permanently locking the legitimate user out of their account. In a self-hosted instance without active administration, this results in a permanent denial of service for that user identity.

Mitigation & Remediation

The only effective remediation is to upgrade the Vikunja instance to a version that includes the patch.

Immediate Action: Upgrade to Vikunja v2.1.0 or later. This release includes the fix for the removeTokens call and corrects the background cron job logic.

Post-Upgrade Cleanup: Simply upgrading the code prevents future tokens from persisting, but it may not automatically clean up the backlog of existing, valid tokens left behind by the bug. Administrators should perform a database cleanup.

Database Cleanup Command (SQL): Execute a query against the Vikunja database to remove old reset tokens. Ensure you backup the database before running delete operations.

-- Example for PostgreSQL/MySQL
-- Delete password reset tokens (type ID usually 1 or 2, verify in code)
-- that are older than 24 hours.
DELETE FROM user_tokens 
WHERE token_type = 1  -- Assuming 1 is TokenPasswordReset
AND created_at < NOW() - INTERVAL '24 HOURS';

Verification: After patching, administrators should verify the fix by generating a password reset token, using it to change a password, and then inspecting the database to confirm the token row has been removed.

Official Patches

VikunjaCommit fixing the token deletion logic

Fix Analysis (1)

Technical Appendix

CVSS Score
9.8/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Systems

Vikunja (Self-Hosted)

Affected Versions Detail

Product
Affected Versions
Fixed Version
Vikunja
go-vikunja
< 2.1.02.1.0
AttributeDetail
CWE IDCWE-459
Attack VectorNetwork
CVSS Score9.8
Remediation LevelOfficial Fix
Exploit StatusPoc Available
Report ConfidenceConfirmed

MITRE ATT&CK Mapping

T1552Unsecured Credentials
Credential Access
T1078Valid Accounts
Defense Evasion
CWE-459
Incomplete Cleanup

The software does not properly clean up sensitive data, such as a password reset token, after it has been used or has expired.

Known Exploits & Detection

GitHub Security AdvisoryAdvisory describing the token reuse mechanism.

Vulnerability Timeline

Vulnerability introduced in version 0.18.0
2021-09-05
Vulnerability disclosed and patched in version 2.1.0
2026-02-27
CVE-2026-28268 published
2026-02-27

References & Sources

  • [1]GHSA-rfjg-6m84-crj2
  • [2]Vikunja v2.1.0 Release Notes

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 5 hours ago•CVE-2026-63402
5.9

CVE-2026-63402: Prototype-Chain Traversal and Shared Built-in Corruption in i18next

CVE-2026-63402 is a prototype-chain traversal and shared built-in object corruption vulnerability in the i18next internationalization framework for JavaScript prior to version 26.3.4. The flaw resides in the deepExtend utility function within src/utils.js, which uses the JavaScript 'in' operator to verify property existence on target objects. When an application passes untrusted resource bundles to i18next.addResourceBundle() with both the deep and overwrite parameters set to true, an attacker can traverse into inherited methods on Object.prototype and overwrite properties on shared built-in function objects, causing process-wide denial of service.

Amit Schendel
Amit Schendel
4 views•10 min read
•about 6 hours ago•CVE-2026-58262
7.1

CVE-2026-58262: BLS Signature Quorum Bypass via PubKeysBitmap Padding Bits in Klever-Go

CVE-2026-58262 (tracked internally as KLR-04 and via GitHub Security Advisory GHSA-f9h7-4mmq-vgcq) is a cryptographic verification and consensus quorum bypass vulnerability in Klever-Go (`klever-io/klever-go`), the Go implementation of the Klever blockchain protocol. Prior to version 1.7.20, the block header signature verification logic (`HeaderSigVerifier.verifyConsensusSize`) counts all set bits across the entire `PubKeysBitmap` byte slice toward the required two-thirds validator quorum without masking or validating unused trailing padding bits in the final byte. Because the underlying Boneh-Lynn-Shacham (BLS) multi-signature verification function (`blsMultiSigner.Verify`) iterates strictly over the indices of configured validator public keys, it ignores any bits set at indices beyond the active consensus group size. When the consensus group size is not an exact multiple of 8, a compromised or malicious block producer can set these unused trailing padding bits to artificially inflate the apparent signer count by up to 7 signatures, enabling blocks with fewer genuine validator signatures than required by the protocol to pass consensus validation.

Alon Barad
Alon Barad
3 views•14 min read
•about 8 hours ago•CVE-2026-77423
7.5

CVE-2026-77423: Regular Expression Denial of Service (ReDoS) in JLine Built-in Less Viewer

CVE-2026-77423 is a Regular Expression Denial of Service (ReDoS) vulnerability in the built-in less viewer of the JLine Java library (versions 3.0.0 prior to 3.30.15, and 4.0.0 prior to 4.3.1). The org.jline.builtins.Less class passes user-supplied search and display-filter patterns directly to Java's standard backtracking regular expression engine without complexity validation or execution timeouts. An attacker with access to an interactive JLine session can submit patterns containing nested quantifiers, causing catastrophic backtracking that consumes 100% of a CPU core and blocks the session thread indefinitely. In network-facing deployments such as SSH or Telnet administration consoles, repeated exploitation across concurrent sessions can exhaust bounded worker thread pools and result in a complete denial of service.

Alon Barad
Alon Barad
3 views•10 min read
•about 9 hours ago•CVE-2026-63492
8.1

CVE-2026-63492 (Duplicate of CVE-2026-63304): OS Command Injection in WWBN AVideo Standalone API

CVE-2026-63492 is a rejected CVE identifier originally assigned by GitHub for an OS command injection vulnerability in WWBN AVideo (formerly YouPHPTube) up to version 29.0. It was rejected as a duplicate of the canonical identifier CVE-2026-63304 (tracked under GHSA-j44m-77cc-p3cc). The flaw resides in the listFFmpegProcesses() function within plugin/API/standAlone/functions.php, which interpolates unsanitized user parameters directly into a single-quoted shell pipeline executed via PHP's exec() function. Attackers capable of crafting a valid AES-256-CBC encrypted API payload can break out of the single-quoted context and execute arbitrary operating system commands as the web-server user.

Amit Schendel
Amit Schendel
4 views•9 min read
•about 10 hours ago•CVE-2026-63476
4.3

CVE-2026-63476: Unbounded Memory Allocation and Denial of Service in isomorphic-git Packfile Delta Parser

CVE-2026-63476 is an uncontrolled resource consumption vulnerability in isomorphic-git prior to version 1.38.6. When parsing Git packfile delta objects during clone or fetch operations, the applyDelta utility reads an untrusted targetSize integer from the delta stream header and passes it directly to Buffer.alloc(). A malicious remote Git server or man-in-the-middle attacker can supply a delta header specifying a targetSize of approximately 2 GB with minimal actual payload data. Because Buffer.alloc() reserves off-heap memory in Node.js, this bypasses standard V8 heap limits and results in immediate out-of-memory termination or sustained memory retention.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 10 hours ago•CVE-2026-63410
5.9

CVE-2026-63410: Compiler-Induced Timing Side-Channel in secp256k1-native Scalar Multiplication

CVE-2026-63410 (GHSA-vp2j-gqfm-r3cf) is a compiler-induced timing side-channel vulnerability in the secp256k1-native Ruby C extension. When compiled with GCC 14.x or 15.x at optimization level -O2, the compiler reconstructs boolean predicates from branchless bitwise multiplexer routines and emits secret-dependent conditional jump instructions (je/jne). During elliptic curve scalar multiplication in the Montgomery ladder, these conditional branches create observable execution timing variations correlated with individual bits of secret private keys or signing nonces.

Alon Barad
Alon Barad
3 views•12 min read