{"schema_version":"1.9.0","id":"CVE-2026-33678","published":"2026-03-24T15:44:06.336Z","modified":"2026-08-12T03:51:40.135566616Z","aliases":["GHSA-jfmm-mjcp-8wq2","GO-2026-4853"],"related":["SUSE-SU-2026:1135-1","openSUSE-SU-2026:21483-1"],"summary":"Vikunja has IDOR in Task Attachment ReadOne Allows Cross-Project File Access and Deletion","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/go-vikunja/vikunja","events":[{"introduced":"0"},{"fixed":"6d5d3e051f4f9f6d72f5d1d552c2d90910fccb28"}],"database_specific":{"cpe":"cpe:2.3:a:vikunja:vikunja:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.2.1"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"versions":["v2.2.0","v2.1.0","v2.0.0","v1.1.0","v1.0.0","v1.0.0-rc4","v1.0.0-rc3","v1.0.0-rc2","v1.0.0-rc1","v1.0.0-rc0","v0.24.1","v0.23.0","v0.22.1","v0.22.0","v0.21.0","v0.20.4","v0.20.3","v0.20.1","v0.20.0","v0.19.2","v0.19.1","v0.19.0","v0.18.1","v0.18.0","v0.17.0","v0.16.0","v0.15.0","v0.14.0","v0.13","v0.12","v0.11","v0.10","v0.9","v0.8","v0.7","v0.6","v0.5","v0.4","v0.3","v0.2","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33678.json"}}],"references":[{"type":"WEB","url":"https://vikunja.io/changelog/vikunja-v2.2.2-was-released"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33678.json"},{"type":"ADVISORY","url":"https://github.com/go-vikunja/vikunja/security/advisories/GHSA-jfmm-mjcp-8wq2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33678"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-639"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33678.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}