5.3medium
Read-only Vikunja users can delete project background images via broken object-level authorization
- Severity
- 5.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-564f-wx8x-878hGO-2026-4795
Description
Vikunja is an open-source self-hosted task management platform. Starting in version 0.20.2 and prior to version 2.2.0, the `DELETE /api/v1/projects/:project/background` endpoint checks `CanRead` permission instead of `CanUpdate`, allowing any user with read-only access to a project to permanently delete its background image. Version 2.2.0 fixes the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| go-vikunja vikunja | >= 0.20.2, < 2.2.0 | CVE List |
| code.vikunja.io/api (Go) | from 0.20.2 before 2.2.0, from 0.20.2 | GitHub Advisory Database, Go Vulnerability Database |
| vikunja vikunja | from 0.20.2 before 2.2.0 | NVD |
All scores
| GitHub_M | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Vikunja is an open-source self-hosted task management platform. Starting in version 0.20.2 and prior to version 2.2.0, the `DELETE /api/v1/projects/:project/background` endpoint checks `CanRead` permission instead of `CanUpdate`, allowing any user with read-only access to a project to permanently delete its background image. Version 2.2.0 fixes the issue.
GitHub Advisory Database
Summary
The DELETE /api/v1/projects/:project/background endpoint checks CanRead permission instead of CanUpdate, allowing any user with read-only access to a project to permanently delete its background image.
Details
The RemoveProjectBackground handler (pkg/modules/background/handler/background.go) reuses checkProjectBackgroundRights, a helper originally written for the read-only GetProjectBackground endpoint. This helper only verifies CanRead permission. In contrast, the handler for setting a background (setBackgroundPreparations) correctly checks CanUpdate.
As a result, destructive write operations (deleting the background file from storage and clearing the project's background_file_id and background_blur_hash fields) are gated behind a read-only permission check.
Impact
A user with read-only access to a project — via direct sharing, team membership, link share tokens with read permission, or read-scoped API tokens — can permanently delete the project's background image. The background file is removed from storage and cannot be recovered. This constitutes unauthorized data destruction.
Reproduction
- User A creates a project and sets a background image.
- User A shares the project with User B with read-only permission.
- User B sends:
DELETE /api/v1/projects/{project_id}/backgroundwith a valid auth token. - The request succeeds. The background image is permanently deleted.
References
pkg/modules/background/handler/background.go—RemoveProjectBackground(line 416),checkProjectBackgroundRights(line 304),setBackgroundPreparations(line 106)pkg/routes/routes.goline 665 — route registration
Credits
This vulnerability was found using GitHub Security Lab Taskflows.
Go Vulnerability Database
Vikunja read-only users can delete project background images via broken object-level authorization in code.vikunja.io/api.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: code.vikunja.io/api before v2.2.0.
NVD (es)
Vikunja es una plataforma de gestión de tareas de código abierto autoalojada. A partir de la versión 0.20.2 y antes de la versión 2.2.0, el endpoint `DELETE /API/v1/projects/:project/background` verifica el permiso `CanRead` en lugar de `CanUpdate`, permitiendo a cualquier usuario con acceso de solo lectura a un proyecto eliminar permanentemente su imagen de fondo. La versión 2.2.0 soluciona el problema.
References
| https://github.com/go-vikunja/vikunja/security/advisories/GHSA-564f-wx8x-878h | advisory, exploit, vendor-advisory, web | |
| https://vikunja.io/changelog/vikunja-v2.2.0-was-released | release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-33312 | advisory | |
| https://github.com/go-vikunja/vikunja | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-33312 changed 2026-03-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-564f-wx8x-878h changed 2026-03-23 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4795 changed 2026-03-23 | CC-BY-4.0 |
| NVD | CVE-2026-33312 changed 2026-06-17 | Public domain |