Home

Description

Vikunja is an open-source self-hosted task management platform. Prior to version 2.2.1, `TaskAttachment.ReadOne()` queries attachments by ID only (`WHERE id = ?`), ignoring the task ID from the URL path. The permission check in `CanRead()` validates access to the task specified in the URL, but `ReadOne()` loads a different attachment that may belong to a task in another project. This allows any authenticated user to download or delete any attachment in the system by providing their own accessible task ID with a target attachment ID. Attachment IDs are sequential integers, making enumeration trivial. Version 2.2.1 patches the issue.

PUBLISHED Reserved 2026-03-23 | Published 2026-03-24 | Updated 2026-03-24 | Assigner GitHub_M




HIGH: 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Problem types

CWE-639: Authorization Bypass Through User-Controlled Key

Product status

< 2.2.1
affected

References

github.com/...ikunja/security/advisories/GHSA-jfmm-mjcp-8wq2

vikunja.io/changelog/vikunja-v2.2.2-was-released

cve.org (CVE-2026-33678)

nvd.nist.gov (CVE-2026-33678)

Download JSON