Oct 10, 2026·5 min read·17 visits
Vikunja's CalDAV engine omitted authorization checks when creating task relations, allowing authenticated users with a target task UID to create unauthorized linkages and modify restricted task structures.
In Vikunja prior to version 2.6.0, relation creation via the CalDAV endpoint fails to invoke the TaskRelation.CanCreate authorization check. This missing access control allows an authenticated user to establish unauthorized relationships and perform write operations against any task, provided its unique identifier (UID) is known.
Vikunja is an open-source, self-hosted task management platform that integrates support for the CalDAV standard, allowing synchronization between task records and external calendar clients. CalDAV processing enables clients to parse, create, update, and manage task hierarchies and dependencies over standard HTTP methods.
During processing of incoming CalDAV requests that establish or mutate task relations, the application server omitted calling the core authorization routine TaskRelation.CanCreate. Consequently, permission evaluation was completely bypassed during relation establishment via CalDAV synchronization.
This flaw allows any authenticated account or entity capable of making CalDAV requests to target tasks outside their authorized scope. By specifying the target task's unique identifier (UID), an attacker can inject task relations, alter parent/child hierarchies, and achieve unauthorized write capabilities on protected resources.
The fundamental flaw stems from inconsistent authorization enforcement across protocol handlers. While traditional REST API handlers in Vikunja consistently execute TaskRelation.CanCreate prior to database modifications, the CalDAV endpoint handler implemented a separate code path that lacked explicit access check invocations.
When a CalDAV client transmits an updated event or VTODO object containing cross-task references, the CalDAV parser extracts the relational identifiers and forwards them to internal persistence functions. The handler assumed that authorization had been established during parent object retrieval, failing to independently validate whether the requesting user possessed write access to the target relation endpoint.
Because TaskRelation.CanCreate validates ownership, shared list permissions, and organization-level roles, omitting this invocation completely negated the multi-tenant access boundaries within shared Vikunja deployments.
In vulnerable versions, the CalDAV task processing pipeline handled task relations by directly constructing and saving TaskRelation instances without invoking security policies. The following code flow illustrates the missing validation check during relation initialization:
// Unpatched relation processing path in CalDAV handler
func (h *CalDAVHandler) handleTaskRelations(ctx context.Context, rel *models.TaskRelation) error {
// Bypassed: rel.CanCreate(ctx, user) check missing
return models.CreateTaskRelation(ctx, rel)
}To resolve this vulnerability in version 2.6.0, the codebase was updated to explicitly invoke the CanCreate policy method prior to relation persistence, ensuring that user identity and task access rights are evaluated against security boundaries:
// Patched relation processing path in CalDAV handler
func (h *CalDAVHandler) handleTaskRelations(ctx context.Context, rel *models.TaskRelation, user *models.User) error {
// Explicitly validate authorization using TaskRelation.CanCreate
canCreate, err := rel.CanCreate(ctx, user)
if err != nil || !canCreate {
return ErrUnauthorizedRelationCreation
}
return models.CreateTaskRelation(ctx, rel)
}The patch introduced in PR #3688 enforces strict validation before committing relational links. Security auditing indicates that this fix effectively seals the bypass for CalDAV workflows without breaking compliant calendar synchronization.
Exploitation requires two prerequisites: network access to the Vikunja CalDAV interface (/dav/...) with valid user credentials, and knowledge of the target task's unique identifier (UID).
An attacker constructs a crafted CalDAV request containing a relation definition (such as a parent-child or dependency mapping) linking their own task to the target task UID. Upon receiving the request, the CalDAV engine executes the relation creation routine.
Because the backend omits TaskRelation.CanCreate, the server establishes the link regardless of whether the user possesses write permissions for the target task. This enables unauthorized modification of task metadata, unauthorized task linking, and potential operational disruption across shared workspace environments.
The security impact of GHSA-G38J-7V97-X298 is categorized under Broken Access Control (CWE-285 / CWE-862). The primary vulnerability vector allows authenticated low-privileged users to modify data structures belonging to other users or organizations in a multi-tenant environment.
While this vulnerability does not directly grant remote code execution or arbitrary file access, it weakens the security guarantees of Vikunja's authorization model. Unauthorized relation creation can cause data corruption, workflow manipulation, and information leakage if relational metadata exposes internal project structures.
The vulnerability carries a CVSS v3.1 base score of 6.5 (Medium severity, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N). Active exploitation in the wild has not been publicly observed.
System administrators must upgrade their Vikunja deployment to version 2.6.0 or higher. Version 2.6.0 includes the updated authorization checks within the CalDAV handler stack.
> [!NOTE]
> If immediate upgrading is not feasible, administrators can mitigate exposure by disabling or restricting network access to the CalDAV sync endpoints (/dav/...) via reverse proxy configuration rules.
To detect potential historical exploitation prior to patching, database administrators should audit the task_relations table for anomalous task relationships created via CalDAV user accounts, specifically cross-project linkages where the creating user lacked edit rights on both target tasks.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
Vikunja Vikunja | < 2.6.0 | 2.6.0 |
| Attribute | Detail |
|---|---|
| CWE Identifier | CWE-862 (Missing Authorization) |
| Attack Vector | Network (CalDAV Endpoint) |
| CVSS Score | 6.5 (Medium) |
| EPSS Score | N/A (GHSA identifier without CVE mapping) |
| Impact | Unauthorized Write / Relation Creation across tasks |
| Exploit Status | No public weaponized exploit available |
| CISA KEV Status | Not Listed |
The software does not perform an authorization check when an actor attempts to access a resource or perform an action.
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.
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.