Oct 10, 2026·5 min read·12 visits
When a collaborator is removed from a Vikunja project, active webhooks and link shares created by that user are not removed. The former collaborator continues receiving live task updates via webhook.
An access revocation flaw in Vikunja allows removed collaborators to retain outbound webhooks and link shares created prior to revocation, enabling persistent exfiltration of sensitive task data.
Vikunja is an open-source, self-hosted task management platform written in Go (code.vikunja.io/api). The application exposes project collaboration features including team management, direct user access controls, project webhooks, and public/private link sharing. Authorization for project resources relies on granular permissions evaluated across user and team associations.
A authorization flaw exists in Vikunja versions v0.22.0 through v2.6.0 where revoking a user's access to a project fails to purge or invalidate associated persistent assets created by that user. Specifically, webhooks and link shares established by a collaborator remain active in the system database after access revocation occurs.
This flaw is classified under CWE-281 (Improper Authorization) and CWE-613 (Insufficient Session Expiration). Because outbound webhooks automatically trigger upon task creation or modification, a revoked user can exfiltrate sensitive project data without maintaining active API credentials or user session tokens.
The underlying defect stems from two structural gaps within the authorization model and revocation workflow logic inside pkg/models/. The primary intended cleanup routine is cleanupTaskMembersAfterTeamRemoval, located in pkg/models/teams.go. This routine evaluates whether a removed user retains project access via project.CanRead(s, &user.User{ID: memberID}). If CanRead evaluates to false, project-associated entities are purged.
The first gap lies in the incomplete cleanup set within pkg/models/teams.go. The deletion queries inside cleanupTaskMembersAfterTeamRemoval target only two table entities: task assignments (TaskAssginee) and notification subscriptions (Subscription). Webhooks (webhooks) and share links (link_shares) are omitted from the cleanup queries despite maintaining functional access to project resources.
The second structural gap involves missing event dispatch triggers. cleanupTaskMembersAfterTeamRemoval is wired into only one of four possible revocation execution paths. While removing a user via team membership deletion (TeamMember.Delete) triggers the partial cleanup routine, direct removal of a user (ProjectUser.Delete), permission downgrades (ProjectUser.Update), and team unsharing (TeamProject.Delete) contain no invocation of the cleanup handler.
An examination of pkg/models/teams.go demonstrates the partial entity deletion logic during team access revocation. The execution logic isolates task assignees and subscriptions, leaving outbound integration mechanisms untouched.
// Partial cleanup logic in pkg/models/teams.go
_, err = s.In("task_id", taskIDs).And("user_id = ?", memberID).
Delete(&TaskAssginee{})
if err != nil {
return err
}
_, err = s.In("entity_id", taskIDs).
Where("entity_type = ? AND user_id = ?", SubscriptionEntityTask, memberID).
Delete(&Subscription{})
if err != nil {
return err
}
_, err = s.In("entity_id", projectsToCleanup).
Where("entity_type = ? AND user_id = ?", SubscriptionEntityProject, memberID).
Delete(&Subscription{})Because Webhooks and LinkShares are absent from this transaction, records containing created_by or shared_by matching memberID persist in the database. Furthermore, pkg/models/project_users.go handles direct user removal in ProjectUser.Delete without calling any derivative cleanup function.
When a project update event occurs, the event bus iterates through all registered webhooks for the project. Because the webhook entity remains registered, payload construction and HTTP dispatch proceed without checking whether created_by currently holds CanRead privileges.
Exploitation requires initial collaborator or write access to a target project. An attacker leverages valid credentials to register an HTTP webhook endpoint pointing to an external server under their control (POST /projects/{id}/webhooks). Additionally, the attacker can generate a project link share token (POST /projects/{id}/shares).
When administrators revoke the attacker's access—either by removing them directly from the project or removing them from an authorized team—the attacker's user session loses standard API authorization. Subsequent direct requests to /projects/{id} return HTTP 403 Forbidden.
Despite administrative revocation, the background system retains the webhook registration. Subsequent edits, comment additions, or task creations performed by remaining project members invoke the webhook worker. The system sends HTTP POST requests containing full task titles, descriptions, and metadata to the attacker's external endpoint.
This flaw results in persistent exfiltration of confidential project data over outbound network channels. CVSS v3.1 rates this issue at 6.5 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
Confidentiality impact is high (C:H) because all subsequent project modifications generate real-time data payloads delivered directly to the revoked user. Integrity and availability are not directly affected by the webhook mechanism, though active link shares could allow unauthorized read access to project views post-removal.
Auditability remains possible via administrative API endpoints. Querying GET /projects/{id}/webhooks and GET /projects/{id}/shares exposes the created_by and shared_by user IDs, enabling administrators to identify lingering assets belonging to former team members.
Remediation requires structural updates to the cleanup framework and access checks across the application lifecycle. Developers must expand cleanupTaskMembersAfterTeamRemoval to include deletion of webhooks and link_shares where the creator ID matches the removed user ID.
Additionally, cleanup hooks must be bound to all four revocation execution paths (ProjectUser.Delete, ProjectUser.Update, TeamProject.Delete, and TeamMember.Delete). This guarantees cleanup execution regardless of how permission revocation is performed.
As a defense-in-depth measure, runtime validation should be implemented. Before dispatching a webhook payload or redeeming a link share, the system should evaluate project.CanRead for the user who created the asset. If the authorization check fails, delivery should be aborted and the stale asset purged.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
Vikunja API Vikunja | >= v0.22.0, <= v2.6.0 | Post-v2.6.0 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-281 (Improper Authorization) |
| Secondary CWE | CWE-613 (Insufficient Session Expiration) |
| CVSS v3.1 Score | 6.5 (Medium) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Attack Vector | Network |
| Privileges Required | Low (Prior collaborator access) |
| Exploit Status | Proof of Concept / Technical Analysis Available |
| CISA KEV Status | Not Listed |
The software does not properly perform authorization checks or fails to revoke access permissions when user relationships change.
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.
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.
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.
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.
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.
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.