Authorization Bypass Through User-Controlled Key Affecting code.vikunja.io/api/pkg/models package, versions <2.2.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.51% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-CODEVIKUNJAIOAPIPKGMODELS-15809277
  • published31 Mar 2026
  • disclosed26 Mar 2026
  • creditoffset

Introduced: 26 Mar 2026

CVE-2026-56765  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade code.vikunja.io/api/pkg/models to version 2.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key through the improper enforcement of access controls in the ReadAll and GetTaskAttachment processes. An attacker can gain unauthorized access to and delete file attachments across all projects by chaining the exposure of share hashes with insufficient validation of attachment ownership. This is only exploitable if a link share URL is available to the attacker.

CVSS Base Scores

version 4.0
version 3.1