Oct 10, 2026·5 min read·10 visits
Vikunja API endpoints prior to version 2.6.0 fail to apply project-level authorization filters when recursively expanding subtasks, exposing private task metadata across unauthorized project boundaries.
A cross-project information disclosure vulnerability in Vikunja allows authenticated users with read access to one project to view private task details from unauthorized projects via subtask expansion parameters.
Vikunja is an open-source task management platform written in Go (code.vikunja.io/api). The application provides REST API endpoints for managing tasks, projects, views, and attachments. Within Vikunja, users can create subtask relationships where a parent task in one project references a child task residing in another project.
A cross-project information disclosure vulnerability exists in all Vikunja versions prior to 2.6.0. When querying tasks using project view endpoints or account-wide task listings, the API accepts the expansion query parameter ?expand[]=subtasks to dynamically populate nested subtasks.
While primary task queries enforce strict access control checks based on the requesting user's project permissions, the subtask expansion routine recursively fetches child tasks without validating project permissions. Consequently, an authenticated attacker with access to a single project can read full details of linked subtasks belonging to private projects where they have no authorization.
> [!WARNING] > This vulnerability exposes complete task structures, including task titles, full descriptions, start and due dates, assigned users, labels, and attachment metadata across unauthorized project boundaries.
The fundamental flaw stems from missing authorization checks during relational expansion in the HTTP handling and service layer. Vikunja allows tasks in Project P to link to subtasks in Project Q. Creating this link originally requires appropriate permissions in both projects. However, permission rights can change, or tasks can remain linked after user access to Project Q is revoked.
When a client issues an HTTP request with ?expand[]=subtasks, the API router parses the expansion list and invokes relational expansion helpers. The query execution pipeline proceeds in two distinct steps:
First, the primary task database query executes and applies access control filters. For instance, querying /api/v1/projects/1/views/1/tasks ensures that only tasks assigned to Project 1 (and accessible by the requesting user) are returned.
Second, the expansion engine detects the subtasks parameter and walks the relational hierarchy to fetch associated child task records by ID. During this recursive walk, the expansion logic omitted project authorization validation. It retrieved and serialized the full subtask entity directly from the database based solely on foreign key relationships, skipping any checks against the requesting user's permissions for the subtask's host project.
In affected versions of Vikunja, the subtask resolution mechanism operated without contextual permission filtering. The subtask fetching logic queried the database for child tasks matching parent identifiers without wrapping the result set in project boundary checks.
The logic flow can be illustrated as follows:
The patch in pull request #3688 modifies the resource expansion pipeline. Before attaching child subtask entities to the JSON response payload, the handler evaluates the parent project ID of each subtask against the permissions matrix of the requesting context. If the user lacks read permission for the subtask's project, the subtask object is omitted from the expansion array.
Exploitation requires valid user credentials and read-level authorization on at least one project containing a parent task linked to a subtask in a restricted project.
An attacker can trigger unauthorized data disclosure by sending an HTTP GET request to either the project view endpoint or the global tasks endpoint while setting the expansion parameter:
GET /api/v1/projects/101/views/1/tasks?expand%5B%5D=subtasks HTTP/1.1
Host: vikunja.example.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Alternatively, an attacker can query the account-wide task endpoint:
GET /api/v1/tasks?expand%5B%5D=subtasks HTTP/1.1
Host: vikunja.example.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...If a task in Project 101 links to a subtask in restricted Project 202, the JSON response structure exposes the full subtask entity:
{
"id": 501,
"title": "Public Parent Task in Project 101",
"project_id": 101,
"subtasks": [
{
"id": 902,
"title": "Confidential Internal Subtask in Project 202",
"description": "Restricted architectural notes and API keys",
"project_id": 202,
"assignees": [{"id": 12, "username": "admin"}]
}
]
}Because the expansion logic functions recursively, nested subtasks beneath subtask ID 902 in Project 202 are also fully populated and leaked.
The security impact of GHSA-3hc7-r24j-rpwc is rated with a CVSS v4 score of 6.8 (Medium/High depending on deployment context). The vulnerability affects the confidentiality impact metric (VC:H), as unauthorized authenticated users gain access to sensitive organization data.
leaked information includes complete task content such as titles, technical specifications, internal discussions in task descriptions, user assignment mappings, project timelines, label categorizations, and metadata for attached files.
This flaw is particularly relevant in multi-tenant or enterprise environments where project-level isolation is enforced to segregate departments, teams, or client accounts. Former members whose project access was partially revoked can still leverage remaining access in shared or public projects to extract updates from restricted projects.
The primary remediation for this vulnerability is upgrading the Vikunja backend API instance to version 2.6.0 or later.
To update a standalone or containerized Vikunja instance, apply the patched binary or update the container image tag:
docker pull vikunja/api:v2.6.0
docker-compose up -dIf immediate upgrading is not feasible, administrators can apply network-level or Web Application Firewall (WAF) mitigations by filtering requests containing subtask expansion parameters:
> [!NOTE]
> Inspect incoming GET requests to /api/v1/projects/*/views/*/tasks and /api/v1/tasks. Block or strip query strings containing expand[]=subtasks or expand%5B%5D=subtasks.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N| Product | Affected Versions | Fixed Version |
|---|---|---|
Vikunja API Vikunja | < 2.6.0 | 2.6.0 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-200 / CWE-285 / CWE-862 |
| Attack Vector | Network (Remote REST API) |
| CVSS v4 Score | 6.8 (Medium) |
| Privileges Required | Low (Authenticated user with access to at least one project) |
| User Interaction | None |
| Exploit Status | Proof of Concept Available |
| CISA KEV Status | Not Listed |
The software exposes sensitive information to an actor that is not authorized to have access to that information.
CVE-2026-28385 (GHSA-3gq2-x4qg-p4g6) is a Server-Side Request Forgery (SSRF) vulnerability in Canonical LXD versions 4.12 through 6.9. An authenticated user possessing the can_create_images entitlement can force the LXD daemon to execute arbitrary outbound HTTP and HTTPS requests via the /1.0/images API endpoint. Due to the absence of egress destination validation, an attacker can probe host loopback services, RFC 1918 private network segments, and cloud Instance Metadata Services (IMDS) from the network position of the privileged LXD daemon.
Canonical LXD and LXC Incus contain an arbitrary file write vulnerability (CWE-73 / CWE-59) in the `/1.0/instances/<name>/exec` REST API endpoint. When an instance is unpacked from an image archive, top-level symbolic links are extracted directly onto the host filesystem within the instance storage directory. If a crafted image includes a symbolic link named `exec-output` pointing to an arbitrary host path, invoking the execution endpoint with `record-output: true` causes the privileged host daemon to follow the symlink and write command output files directly to the target host directory. An authenticated attacker with permissions to import images and execute commands can exploit this flaw to write controlled content to sensitive host directories such as `/etc/cron.d`, resulting in arbitrary code execution on the host as `root`.
CVE-2026-48749 (tracked as GHSA-vghh-5rfx-xhq8 for LXD and GHSA-2q3f-q5pq-g8wv for Incus) is a critical container escape vulnerability in the Canonical LXD and Linux Containers Incus system container managers. By importing a specially crafted container image archive containing duplicate tar member headers, an authenticated attacker can replace the instance rootfs directory with a symbolic link pointing to the underlying host root filesystem. When performing file operations on a stopped container, the privileged forkfile helper binary resolves the symbolic link without confinement and chroots directly into the host filesystem, granting arbitrary root-level file read and write access.
GHSA-fmc8-p6q7-75cc (associated with CVE-2026-48755) is a critical argument injection vulnerability in Canonical LXD (github.com/canonical/lxd). The vulnerability occurs during instance and storage volume backup operations when processing the user-supplied compression_algorithm configuration parameter. While LXD validates the primary executable token against an allowlist of supported compression binaries, it fails to sanitize or restrict subsequent tokens parsed via shellquote.Split. These additional arguments are passed directly to exec.Command. An authenticated attacker with privileges to trigger backups can inject command-line flags for utilities like zstd to read staged files from a container filesystem and write them to arbitrary paths on the underlying host filesystem, such as /etc/cron.d/, achieving root-level arbitrary code execution on the host.
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.