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



GHSA-W2CH-4XGR-22WW

GHSA-W2CH-4XGR-22WW: Missing Authorization in Vikunja Task Relation Deletion

Alon Barad
Alon Barad
Software Engineer

Oct 10, 2026·5 min read·12 visits

Executive Summary (TL;DR)

In Vikunja versions prior to 2.6.0, deleting a task relation only verifies access permissions for the source task. An authenticated user can unlink tasks in unauthorized or private projects.

An authorization bypass vulnerability in Vikunja versions prior to v2.6.0 permits authenticated users to delete relationships between tasks across project boundaries without requiring read or write authorization for the target related task.

Vulnerability Overview

Vikunja is an open-source, self-hosted task management application written in Go. The platform allows users to structure tasks into projects, set access control permissions per project, and construct relationships between tasks (such as subtasks, dependencies, or related references). Because tasks residing in different projects can be linked together, task relations often cross organizational and permission boundaries.

During relation management operations, the system must enforce dual-endpoint access control. When establishing or breaking a relationship between two entities, authorization checks must confirm that the requesting principal possesses sufficient rights on both target objects. In versions of Vikunja prior to v2.6.0, the handler responsible for relation deletion enforced authorization checks on only one side of the relationship.

An attacker with legitimate access to a single task (Task A) can delete any existing relationship pointing to or from a target task (Task B), even if Task B belongs to a restricted project to which the attacker has no read or write privileges. This issue represents a failure of access control mechanisms defined under CWE-862 (Missing Authorization) and CWE-284 (Improper Access Control).

Root Cause Analysis

The root cause stems from incomplete permission validation in the task relation deletion service layer. In Vikunja, task relations are represented as directional or bidirectional links stored in the relational database, indexed by relation identifiers or task identifier pairs.

When a client submits an HTTP DELETE request to sever a relationship between Task A and Task B, the API controller invokes authorization helpers to confirm that the user has permission to edit Task A. Upon successful validation of Task A, the service immediately executed the deletion query against the underlying database table without evaluating the user's permissions regarding Task B.

The logic incorrectly assumed that owning or having write permissions on one end of a relation automatically grants complete management authority over the relation as a whole. Consequently, cross-project relations could be modified unilaterally by any participant who had permission over at least one connected task, violating project isolation boundaries.

Code Analysis & Patch Inspection

The remediation was introduced in pull request #3688 and committed via SHA 077dc4de79ce6f1ab59215a2c7bf9b30423685f2. The fix updates the authorization verification function invoked during task relation deletion.

Prior to the patch, the function performed a single permission evaluation against Task A. The patched version introduces an explicit check against Task B prior to executing the database removal statement. If the user lacks read access to Task B, the API yields an HTTP 403 Forbidden or HTTP 404 Not Found error, halting execution.

// Vulnerable logic pattern:
func (s *TaskRelationService) Delete(ctx context.Context, rel *models.TaskRelation) error {
    // Only validated access to the primary task
    if err := s.canWriteTask(ctx, rel.TaskID); err != nil {
        return err
    }
    return s.repo.DeleteRelation(ctx, rel.ID)
}
 
// Patched logic pattern (v2.6.0):
func (s *TaskRelationService) Delete(ctx context.Context, rel *models.TaskRelation) error {
    if err := s.canWriteTask(ctx, rel.TaskID); err != nil {
        return err
    }
    // Added permission check for the related task
    if err := s.canReadTask(ctx, rel.OtherTaskID); err != nil {
        return err
    }
    return s.repo.DeleteRelation(ctx, rel.ID)
}

The fix is complete for this specific endpoint. By enforcing that the user must at least have read access to the secondary task before modifying its relations, the authorization bypass is fully blocked.

Exploitation & Attack Workflow

Exploitation requires valid user credentials on a Vikunja instance. The attacker must control at least one project where they have permission to view or edit tasks.

  1. The attacker creates or identifies a task (Task A) in their accessible project.
  2. The attacker establishes a relation between Task A and a target task (Task B) in another project, or identifies an existing relation between Task A and Task B created previously or by another user.
  3. The target task (Task B) resides in a project where the attacker has no permission rights.
  4. The attacker issues an API call to delete the relation referencing Task A and Task B.
  5. The backend validates permissions for Task A, ignores the lack of permissions for Task B, and removes the relation record.

As a result, project workflows, dependency chains, and tracking links established by members of restricted projects can be disrupted by unauthorized users without triggering audit flags for Task B.

Impact Assessment

This vulnerability affects data integrity and relation metadata consistency across projects within Vikunja. The impact is classified as localized data tampering (Integrity: Low) without direct confidentiality loss or unauthorized remote code execution.

Attacker capabilities are constrained to removing task relationships. Attackers cannot read the contents of private tasks or modify task titles, descriptions, or assignees in restricted projects solely through this bug. However, removing critical dependency links (such as 'blocking' relationships) can cause disruption to operational tracking and project management workflows.

The vulnerability is scored as CVSS 5.3 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N. No automated exploitation attempts or public weaponized exploit code have been recorded in threat intelligence feeds.

Remediation & Mitigation Guidance

The primary remediation strategy is upgrading the Vikunja instance to version v2.6.0 or later. This release incorporates the mandatory dual-endpoint authorization check for relation deletion API endpoints.

No permanent configuration settings or environment toggles can remediate the underlying flaw in affected versions (< 2.6.0). Organizations unable to update immediately should review API access logs for anomalous DELETE requests targeting /tasks/{id}/relations/{relation_id}.

After upgrading, administrators can audit project task relations using database queries to verify that dependency structures remain intact and consistent.

Official Patches

VikunjaPull Request #3688 - Fix relation deletion authorization check
VikunjaVikunja Release v2.6.0

Fix Analysis (1)

Technical Appendix

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

Affected Systems

Vikunja API (< 2.6.0)Vikunja Frontend (< 2.6.0)

Affected Versions Detail

Product
Affected Versions
Fixed Version
Vikunja
Vikunja
< 2.6.02.6.0
AttributeDetail
CWE IDCWE-862 (Missing Authorization)
CVSS v3.1 Score5.3 (Medium)
Attack VectorNetwork (Unauthenticated: No, Authenticated: Yes)
ImpactIntegrity (Unauthorized relation removal)
Exploit StatusNone / No public weaponized exploit
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
T1565Data Manipulation
Impact
CWE-862
Missing Authorization

The software does not perform an authorization check when an actor attempts to access a resource or perform an action.

Vulnerability Timeline

Vulnerability identified and reported to Vikunja maintainers
2024
Fix merged in PR #3688 (Commit 077dc4de79ce6f1ab59215a2c7bf9b30423685f2)
2024
Vikunja v2.6.0 released and GHSA-W2CH-4XGR-22WW published
2024

References & Sources

  • [1]GitHub Security Advisory GHSA-W2CH-4XGR-22WW
  • [2]Vikunja PR #3688 Fix Task Relation Authorization
  • [3]Vikunja Commit 077dc4de79ce6f1ab59215a2c7bf9b30423685f2
  • [4]Vikunja v2.6.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

•44 minutes ago•GHSA-PJFF-C2WC-F6JM
9.9

CVE-2026-48769: Arbitrary File Write and Remote Code Execution via Trusted Image Hash in Canonical LXD and Linux Containers Incus

A critical path traversal vulnerability caused by improper input validation (CWE-20) exists in the direct image download handler of Canonical LXD and Linux Containers Incus. When an authenticated user requests an image import using the URL source type, the daemon reads the image fingerprint from an untrusted HTTP response header (`Incus-Image-Hash` or `LXD-Image-Hash`) without validating that it conforms to a SHA-256 format. This unvalidated string is concatenated directly into a filesystem path via `filepath.Join` prior to file creation and cryptographic verification, allowing directory traversal sequences to write arbitrary files on the host filesystem as root.

Alon Barad
Alon Barad
3 views•10 min read
•about 5 hours ago•CVE-2026-9639
6.5

CVE-2026-9639: Authenticated Denial of Service via Nil-Pointer Dereference in Canonical LXD Custom Volume Backup Import

CVE-2026-9639 (GHSA-j93m-3j9p-m5m8) is a null pointer dereference vulnerability in Canonical LXD affecting versions 5.0.0 through 5.21.4 and 6.0 through 6.8. The flaw resides in the (*lxdBackend).CreateCustomVolumeFromBackup method within lxd/storage/backend_lxd.go. An authenticated attacker with the can_create_storage_volumes permission can upload a crafted custom volume backup tarball that omits the expires_at field on a snapshot entry, triggering an unhandled SIGSEGV panic and terminating the LXD daemon.

Amit Schendel
Amit Schendel
5 views•9 min read
•about 6 hours ago•CVE-2026-33050
8.8

CVE-2026-33050: OS Command Injection in GeoNode Vector Upload Handler

An operating system command injection vulnerability (CWE-78) exists in GeoNode versions prior to 5.1.0. The vulnerability occurs in the vector upload processing pipeline when handling user-supplied geospatial files. By supplying a crafted layer name containing shell metacharacters, an authenticated attacker with basic data upload privileges can execute arbitrary commands on the underlying server or container hosting the GeoNode application and Celery worker processes.

Alon Barad
Alon Barad
5 views•9 min read
•about 7 hours ago•CVE-2026-46429
5.5

CVE-2026-46429: Unrestricted File Upload and Validation Bypass in GeoNode

GeoNode versions prior to 5.0.3 contain an unrestricted file upload vulnerability (CWE-434) within the document and dataset ingestion architecture. Authenticated low-privileged users can bypass upload validation via direct REST API interactions, file extension masquerading, metadata mutation via PATCH requests, or malicious archive submissions. This allows attackers to store and serve dangerous file types, alter on-disk file references, or trigger path traversal and resource exhaustion during archive extraction.

Amit Schendel
Amit Schendel
6 views•10 min read
•about 8 hours ago•CVE-2026-55649
6.3

CVE-2026-55649: Stored Cross-Site Scripting in GeoNode Document Metadata Abstract Field

CVE-2026-55649 is a stored Cross-Site Scripting (XSS) vulnerability in GeoNode versions prior to 5.0.3. The flaw exists because document abstract metadata fields are ingested via the metadata management pipeline and stored in the backend database without HTML sanitization or input neutralization. An authenticated attacker with privileges to create or edit document metadata can inject arbitrary HTML and JavaScript payloads into these fields. When another user, such as an administrator, views the affected document page or catalog listing, the unencoded payload is rendered into the Document Object Model (DOM) and executes within the victim's browser session.

Amit Schendel
Amit Schendel
7 views•9 min read
•about 9 hours ago•GHSA-QX75-2P3R-PWM5
7.7

CVE-2026-55622: Cross-Project Instance Copy Authorization Bypass in Canonical LXD and LXC Incus

CVE-2026-55622 (GHSA-qx75-2p3r-pwm5) is an improper access control vulnerability (CWE-284) in Canonical LXD and LXC Incus (tracked as GHSA-c9f5-j9c3-mhrg). In multi-tenant deployments utilizing project-based isolation, the REST API handler for instance creation via POST /1.0/instances verifies that the authenticated user has authorization in the destination project specified by the query parameter, but fails to verify whether the user holds read or view permissions for the source instance when executing a copy operation across projects. Consequently, an authenticated client restricted to a single project can clone instances or snapshots from unauthorized projects into their own project, resulting in complete disclosure of the target instance filesystem and embedded credentials.

Amit Schendel
Amit Schendel
6 views•11 min read