CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



GHSA-FMMF-XQ98-G327

GHSA-fmmf-xq98-g327: Write-Level Project Members Can Delete Admin-Tier Link Shares in Vikunja

Alon Barad
Alon Barad
Software Engineer

Oct 10, 2026·5 min read·14 visits

Executive Summary (TL;DR)

Write-level collaborators in Vikunja can delete admin-tier link shares due to an authorization check executing on an unpopulated model struct, causing stored admin permissions to evaluate as zero.

An authorization bypass vulnerability in Vikunja's link share deletion handlers allows project members with Write privileges to delete Admin-tier link shares. The handler passes an unpopulated struct to the authorization check, causing the permission evaluation to fall back to default Write permissions instead of requiring Admin privileges.

Vulnerability Overview

Vikunja is an open-source, self-hosted task management platform written in Go (code.vikunja.io/api). The application provides link sharing functionality, enabling project owners and administrators to generate access tokens and URLs for external stakeholders with predefined permissions such as Read, Write, or Admin.

An authorization bypass bug exists in the HTTP handler responsible for deleting project link shares. Under intended access control logic, revoking or deleting an Admin-tier link share requires the requesting user to hold Admin privileges on the parent project. However, the deletion logic fails to retrieve the target link share's stored state from the database prior to evaluating access control.

Because authorization rules are evaluated against an uninitialized Go struct, the internal permission field defaults to zero (PermissionRead). Consequently, the access check grants deletion rights to any user with Write access to the project, violating expected authorization boundaries.

Root Cause Analysis

The root cause of GHSA-fmmf-xq98-g327 stems from incorrect object initialization prior to access control policy evaluation, classified under CWE-863 (Incorrect Authorization).

In pkg/routes/api/v2/link_sharing.go, the HTTP routing handler receives a request to delete a share given a project ID and share ID. Instead of querying the database for the existing LinkSharing record, the handler instantiates an incomplete struct populated only with the route parameter identifiers:

&models.LinkSharing{ID: in.ID, ProjectID: in.ProjectID}

This struct is passed to handler.DoDelete, which invokes LinkSharing.CanDelete. CanDelete delegates evaluation to canDoLinkShare in pkg/models/link_sharing_permissions.go.

Inside canDoLinkShare, the system evaluates whether share.Permission == PermissionAdmin. Because share is an unpopulated struct instance, share.Permission contains the Go zero-value for its integer type, which corresponds to PermissionRead (0) rather than PermissionAdmin (2). The system skips the required IsAdmin check and proceeds to CanWrite. Since the caller possesses Write rights on the project, the check succeeds.

Code Analysis

The vulnerability is visible in the structural binding and decision logic across pkg/routes/api/v2/link_sharing.go and pkg/models/link_sharing_permissions.go.

// Vulnerable Flow in pkg/routes/api/v2/link_sharing.go
func (h *LinkSharingHandler) Delete(c labstack.Context) error {
    var in struct {
        ProjectID int64 `param:"project"`登
        ID        int64 `param:"share"`撘
    }
    // ... binding logic ...
    // Unpopulated model created without database read
    s := &models.LinkSharing{ID: in.ID, ProjectID: in.ProjectID}
    return handler.DoDelete(c, s)
}

During evaluation inside pkg/models/link_sharing_permissions.go:

func canDoLinkShare(s *m.Session, a m.Admin, share *LinkSharing) bool {
    // share.Permission is 0 (zero-value) instead of 2 (PermissionAdmin)
    if share.Permission == PermissionAdmin {
        return l.IsAdmin(s, a)
    }
    // Unloaded check falls through to CanWrite
    return l.CanWrite(s, a)
}

Once CanDelete returns true, handler.DoDelete executes LinkSharing.Delete. The SQL query filters strictly by id and project_id, removing the database row without ever validating whether the actual record had PermissionAdmin assigned.

Exploitation Methodology

Exploitation requires network access to the Vikunja instance and an authenticated session for an account with Write collaborator privileges on a target project.

First, an attacker attempts to create an admin-tier link share to confirm authorization checks on creation endpoints are active:

curl -i -X POST "https://vikunja.local/api/v2/projects/10/shares" \
  -H "Authorization: Bearer WRITER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"permission":2}'

The server correctly returns HTTP 403 Forbidden. However, when targeting an existing admin-tier link share created by the project owner (e.g., share ID 42), the attacker issues a DELETE request:

curl -i -X DELETE "https://vikunja.local/api/v2/projects/10/shares/42" \
  -H "Authorization: Bearer WRITER_TOKEN"

Because share.Permission evaluates to 0 during authorization, the check succeeds, returning HTTP 204 No Content (or HTTP 200 OK on /api/v1/). The target admin-tier link share is permanently deleted from the database.

Impact Assessment

The impact of GHSA-fmmf-xq98-g327 is localized to project link share management and external session persistence.

An attacker holding Write access can destroy administrative share links set up by project owners. In configurations where link-share JWT tokens undergo database validation upon every request, deleting the link share immediately revokes external active sessions, resulting in HTTP 401 Unauthorized errors for external consumers.

The vulnerability does not grant vertical privilege escalation; the attacker cannot acquire administrative privileges within the project, read unauthorized project data, or create new administrative link shares.

Remediation & Mitigation Guidance

To remediate this vulnerability, deletion handlers must pre-fetch the targeted LinkSharing record from the database using both share ID and project ID prior to executing authorization routines.

// Recommended Remediation Pattern
func (h *LinkSharingHandler) Delete(c labstack.Context) error {
    // 1. Fetch existing record from DB
    share, err := models.GetLinkShareByIDAndProject(in.ID, in.ProjectID)
    if err != nil {
        return err
    }
    // 2. Pass fully populated model to authorization and deletion handler
    return handler.DoDelete(c, share)
}

If immediate patching is not possible, instances should restrict Write collaborator access on critical projects or monitor access logs for DELETE operations targeting /api/v1/projects/*/shares/* and /api/v2/projects/*/shares/*.

Technical Appendix

CVSS Score
5.3/ 10
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Affected Systems

code.vikunja.io/api (Go package)Vikunja API deployments running versions >= 0.13.0 and <= 2.6.0

Affected Versions Detail

Product
Affected Versions
Fixed Version
Vikunja API
Vikunja
>= 0.13.0, <= 2.6.0Unreleased (post-2.6.0 / main branch)
AttributeDetail
CWE IDCWE-863 (Incorrect Authorization)
Attack VectorNetwork
CVSS v4.0 Score5.3 (Medium)
EPSS ScoreN/A (No CVE Assigned)
ImpactUnauthorized deletion of admin-tier project link shares
Exploit StatusProof of Concept available
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
T1070Indicator Removal
Defense Evasion
CWE-863
Incorrect Authorization

The software performs an authorization check when an actor attempts to access a resource, but it does not correctly perform the check, allowing access without required privileges.

Known Exploits & Detection

GitHub Security AdvisoryReproduction steps demonstrating HTTP DELETE requests using Write token against Admin share IDs

Vulnerability Timeline

GitHub Security Advisory GHSA-fmmf-xq98-g327 published
2026-10-09

References & Sources

  • [1]GitHub Security Advisory GHSA-fmmf-xq98-g327
  • [2]Vikunja Source Code Repository
Related Vulnerabilities
CVE-2026-33700CVE-2026-35594

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 1 hour ago•GHSA-PJFF-C2WC-F6JM
9.9

CVE-2026-48769: Arbitrary File Write and Remote Code Execution via Trusted Image Hash in Canonical LXD and Linux Containers Incus

A critical path traversal vulnerability caused by improper input validation (CWE-20) exists in the direct image download handler of Canonical LXD and Linux Containers Incus. When an authenticated user requests an image import using the URL source type, the daemon reads the image fingerprint from an untrusted HTTP response header (`Incus-Image-Hash` or `LXD-Image-Hash`) without validating that it conforms to a SHA-256 format. This unvalidated string is concatenated directly into a filesystem path via `filepath.Join` prior to file creation and cryptographic verification, allowing directory traversal sequences to write arbitrary files on the host filesystem as root.

Alon Barad
Alon Barad
3 views•10 min read
•about 5 hours ago•CVE-2026-9639
6.5

CVE-2026-9639: Authenticated Denial of Service via Nil-Pointer Dereference in Canonical LXD Custom Volume Backup Import

CVE-2026-9639 (GHSA-j93m-3j9p-m5m8) is a null pointer dereference vulnerability in Canonical LXD affecting versions 5.0.0 through 5.21.4 and 6.0 through 6.8. The flaw resides in the (*lxdBackend).CreateCustomVolumeFromBackup method within lxd/storage/backend_lxd.go. An authenticated attacker with the can_create_storage_volumes permission can upload a crafted custom volume backup tarball that omits the expires_at field on a snapshot entry, triggering an unhandled SIGSEGV panic and terminating the LXD daemon.

Amit Schendel
Amit Schendel
5 views•9 min read
•about 6 hours ago•CVE-2026-33050
8.8

CVE-2026-33050: OS Command Injection in GeoNode Vector Upload Handler

An operating system command injection vulnerability (CWE-78) exists in GeoNode versions prior to 5.1.0. The vulnerability occurs in the vector upload processing pipeline when handling user-supplied geospatial files. By supplying a crafted layer name containing shell metacharacters, an authenticated attacker with basic data upload privileges can execute arbitrary commands on the underlying server or container hosting the GeoNode application and Celery worker processes.

Alon Barad
Alon Barad
5 views•9 min read
•about 7 hours ago•CVE-2026-46429
5.5

CVE-2026-46429: Unrestricted File Upload and Validation Bypass in GeoNode

GeoNode versions prior to 5.0.3 contain an unrestricted file upload vulnerability (CWE-434) within the document and dataset ingestion architecture. Authenticated low-privileged users can bypass upload validation via direct REST API interactions, file extension masquerading, metadata mutation via PATCH requests, or malicious archive submissions. This allows attackers to store and serve dangerous file types, alter on-disk file references, or trigger path traversal and resource exhaustion during archive extraction.

Amit Schendel
Amit Schendel
6 views•10 min read
•about 8 hours ago•CVE-2026-55649
6.3

CVE-2026-55649: Stored Cross-Site Scripting in GeoNode Document Metadata Abstract Field

CVE-2026-55649 is a stored Cross-Site Scripting (XSS) vulnerability in GeoNode versions prior to 5.0.3. The flaw exists because document abstract metadata fields are ingested via the metadata management pipeline and stored in the backend database without HTML sanitization or input neutralization. An authenticated attacker with privileges to create or edit document metadata can inject arbitrary HTML and JavaScript payloads into these fields. When another user, such as an administrator, views the affected document page or catalog listing, the unencoded payload is rendered into the Document Object Model (DOM) and executes within the victim's browser session.

Amit Schendel
Amit Schendel
7 views•9 min read
•about 9 hours ago•GHSA-QX75-2P3R-PWM5
7.7

CVE-2026-55622: Cross-Project Instance Copy Authorization Bypass in Canonical LXD and LXC Incus

CVE-2026-55622 (GHSA-qx75-2p3r-pwm5) is an improper access control vulnerability (CWE-284) in Canonical LXD and LXC Incus (tracked as GHSA-c9f5-j9c3-mhrg). In multi-tenant deployments utilizing project-based isolation, the REST API handler for instance creation via POST /1.0/instances verifies that the authenticated user has authorization in the destination project specified by the query parameter, but fails to verify whether the user holds read or view permissions for the source instance when executing a copy operation across projects. Consequently, an authenticated client restricted to a single project can clone instances or snapshots from unauthorized projects into their own project, resulting in complete disclosure of the target instance filesystem and embedded credentials.

Amit Schendel
Amit Schendel
6 views•11 min read