CVE-2026-33312: Read-only Vikunja users can delete project background images via broken object-level authorization

Published Mar 20, 2026
·
Updated

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 backgroundfileid and backgroundblurhash 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

1. User A creates a project and sets a background image. 2. User A shares the project with User B with read-only permission. 3. User B sends: DELETE /api/v1/projects/{projectid}/background with a valid auth token. 4. 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.go line 665 — route registration

Credits

This vulnerability was found using GitHub Security Lab Taskflows.

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
Vikunja Vikunja>=0.20.2<2.2.0
go/code.vikunja.io/api>=0.20.2<2.2.0
2.2.0
Vikunja Vikunja>=0.20.2<2.2.0

Event History

Mar 20, 2026
CVE Published
via MITRE·02:42 PM
Data Sourced
via MITRE·02:42 PM
DescriptionWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·05:25 PM
Data Sourced
via GitHub·05:25 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-33312?

CVE-2026-33312 has been classified as a critical security vulnerability due to the potential for unauthorized deletion of project background images.

2

How do I fix CVE-2026-33312?

To resolve CVE-2026-33312, update Vikunja to version 2.2.0 or later to ensure proper authorization checks for object-level access.

3

Who is affected by CVE-2026-33312?

CVE-2026-33312 affects Vikunja users running versions from 0.20.2 up to but not including 2.2.0.

4

What is the primary issue with CVE-2026-33312?

The primary issue with CVE-2026-33312 is broken object-level authorization allowing read-only users to delete project background images.

5

Is there a workaround for CVE-2026-33312?

There is no official workaround for CVE-2026-33312, and upgrading to the latest version is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203