All vulnerabilities
GHSA-8wvg-r2j4-3737GO-2026-6723

code.vikunja.io/api: Vikunja: Assignee email addresses disclosed to read-only project members via the task assignees endpoint

code.vikunja.io/apigoLibraries & packages
CVSS
5.3Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
Fixed in2.6.0Fixed versionGitHub
Published9 Oct 2026Updated 19 Oct 2026GitHub

What fixes it

  • 2.6.0code.vikunja.io/api, goGitHubgo get code.vikunja.io/api@v2.6.0
  • 2.6.0code.vikunja.io/api, GoOSVgo get code.vikunja.io/api@v2.6.0

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

Summary

TaskAssginee.ReadAll returns assignee user objects without blanking the Email field, disclosing assignee email addresses to any read-only project member. Every sibling path that returns user objects obfuscates the email; this one does not.

Details

pkg/models/task_assignees.go (~lines 306-344) does Select("users.*") and returns the result directly. User.Email is json:"email,omitempty", so a non-empty value always serializes. The endpoint gates on task.CanRead, so a read-only member passes. Sibling paths blank the field: pkg/models/tasks.go:530, pkg/models/project_users.go:216, pkg/models/teams.go:177, pkg/models/label_task.go:312, pkg/models/task_attachment.go:511. The omission here reads as an oversight, not a decision.

The same file's getRawTaskAssigneesForTasks (~line 56) also selects users.* but is safe because its only caller (addAssigneesToTasks) blanks the email afterwards.

PoC (verified at runtime against v2.5.0, v1 and v2)

GET /api/v1/tasks/{id}/assignees   (reader with permission:0)
-> [{"id":37,"username":"...","email":"assignee+SECRET@example.test", ...}]

Same leak on GET /api/v2/tasks/{id}/assignees (routes through the identical model method). Contrast: GET /api/v1/projects/{id}/projectusers and the project task-embed both return the same users with no email.

Impact

Disclosure of assignees' email addresses to users who should only see usernames. Read-only.

Fix

Blank Email on each returned user in TaskAssginee.ReadAll before returning, matching the sibling paths. Covers v1 and v2 at once.

Text from GitHub Advisory Database

Affected versions 2

  • code.vikunja.io/api, go<= 2.5.0GitHub
  • code.vikunja.io/api, Gofrom first release, fixed in 2.6.0OSV

References 4