# CVE-2026-33678: Vikunja has IDOR in Task Attachment ReadOne Allows Cross-Project File Access and Deletion

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-24T15:44:06.336Z
- Modified: 2026-06-17T10:37:54.770Z
- Also known as: GHSA-jfmm-mjcp-8wq2, GO-2026-4853
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- go-vikunja vikunja: < 2.2.1
- code.vikunja.io/api (Go): before 2.2.1; all versions
- vikunja vikunja: before 2.2.1

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/go-vikunja/vikunja/security/advisories/GHSA-jfmm-mjcp-8wq2> (exploit, advisory, vendor-advisory, web)
- <https://vikunja.io/changelog/vikunja-v2.2.2-was-released> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33678> (advisory)
- <https://github.com/go-vikunja/vikunja> (package)

## Sources

- CVE List: [CVE-2026-33678](https://www.cve.org/CVERecord?id=CVE-2026-33678), CVE Terms of Use, modified 2026-03-24
- GitHub Advisory Database: [GHSA-jfmm-mjcp-8wq2](https://github.com/advisories/GHSA-jfmm-mjcp-8wq2), CC-BY-4.0, modified 2026-03-26
- Go Vulnerability Database: [GO-2026-4853](https://pkg.go.dev/vuln/GO-2026-4853), CC-BY-4.0, modified 2026-03-26
- NVD: [CVE-2026-33678](https://nvd.nist.gov/vuln/detail/CVE-2026-33678), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33678 · Whole record: https://cve.day/CVE-2026-33678.json · Rebuilt by cve.day 2026-11-25T22:59:16.582Z
