Oct 10, 2026·5 min read·18 visits
Vikunja versions prior to 2.6.0 disclose private user email addresses to any authenticated user with read permissions on a task due to over-broad SQL model population in the task assignees endpoint.
An information disclosure vulnerability in Vikunja allows authenticated users with read access to a task to expose private email addresses of assigned users through the API task assignees endpoint due to an unmasked database query.
Vikunja is an open-source, self-hosted project management platform that allows users to organize tasks, assign team members, and collaborate within shared workspaces. Shared projects support granular permission models, allowing users to be granted read-only, write, or administrative access.
An information disclosure flaw exists in the task assignees endpoint (TaskAssginee.ReadAll). When retrieving assignees for a given task, the API returns full user profile objects that include private email addresses. Low-privilege accounts with read-only permissions on a shared project can query this endpoint to extract personal identifiable information (PII) of other project members.
The weakness is classified under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor). While task assignees must be visible to project members by username or display name, exposing personal email addresses breaches privacy boundaries in multi-tenant environments.
The defect lies within pkg/models/task_assignees.go in the implementation of TaskAssginee.ReadAll(). When a request is made to list assignees for a task, the service constructs an SQL query using XORM that performs an inner join between the task_assignees table and the users table.
Prior to version 2.6.0, the backend query executed Select("users.*")). This wildcard column selection directed the ORM engine to retrieve all database columns from the users table and map them directly into user.User struct instances, populating internal fields including user.Email.
The REST API handler converts these user.User objects directly to JSON without masking or field-level filtering. Although the application verifies that the requesting user has read access to the target task, it fails to sanitize user model fields prior to serialization.
The vulnerability was resolved in pull request #3688 and released in version v2.6.0 under commit 0855e13568ba2466ff83c69aeb6d967a7d1f3e1f. The fix refactors TaskAssginee.ReadAll() to avoid selecting full user rows in the raw SQL query.
In the vulnerable implementation, Select("users.*")) directly populated complete user model instances:
// Vulnerable Implementation in pkg/models/task_assignees.go
var taskAssignees []*user.User
query := s.Table("task_assignees").
Select("users.*").
Join("INNER", "users", "task_assignees.user_id = users.id").
Where(builder.And(
builder.Eq{"task_id": la.TaskID},
))
err = query.Find(&taskAssignees)The patched version selects only the task_assignees.user_id values. It then passes the resulting ID slice to user.GetUsersByIDs(s, assigneeIDs), which handles user retrieval and enforces profile field sanitization by clearing email attributes:
// Patched Implementation in pkg/models/task_assignees.go
var assigneeIDs []int64
query := s.Table("task_assignees").
Select("task_assignees.user_id").
Join("INNER", "users", "task_assignees.user_id = users.id").
Where(builder.And(
builder.Eq{"task_id": la.TaskID},
))
err = query.Find(&assigneeIDs)
if err != nil {
return nil, 0, 0, err
}
// GetUsersByIDs handles profile field blanking
usersByIDs, err := user.GetUsersByIDs(s, assigneeIDs)
if err != nil {
return nil, 0, 0, err
}
var taskAssignees []*user.User
for _, id := range assigneeIDs {
if u, ok := usersByIDs[id]; ok {
taskAssignees = append(taskAssignees, u)
}
}Additionally, regression testing was added in pkg/models/task_assignees_test.go via TestTaskAssigneeReadAll_BlanksEmails to assert that email attributes in returned assignee objects remain empty.
To exploit this issue, an attacker requires valid user authentication on a Vikunja instance and read-level access to at least one task with assigned users. No administrative privileges are required.
The attacker issues an HTTP GET request to the task assignees API endpoint:
GET /api/v1/tasks/30/assignees HTTP/1.1
Host: vikunja.example.com
Authorization: Bearer <JWT_TOKEN>
Accept: application/jsonOn vulnerable instances (< 2.6.0), the application returns a JSON array containing assignee profiles with populated email fields:
[
{
"id": 42,
"username": "johndoe",
"name": "John Doe",
"email": "john.doe@example.com",
"created": "2024-01-15T10:00:00Z"
}
]An attacker can iterate through task identifiers across accessible projects to harvest member email addresses for targeted phishing or reconnaissance.
The primary impact of this flaw is unauthorized access to personal identifiable information (PII). In environments with external users or multi-tenant organizations, exposure of private email addresses violates user privacy expectations and regulatory data protection guidelines.
The issue is rated CVSS 4.3 (Medium) with the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. Network access is required (AV:N), attack complexity is low (AC:L), and low privileges are sufficient (PR:L). Impact is limited exclusively to confidentiality (C:L).
This vulnerability does not enable code execution, privilege escalation, or modification of task data. However, collected email addresses facilitate secondary vector attacks such as credential stuffing, spear phishing, and user impersonation.
Administrators should update self-hosted Vikunja instances to version v2.6.0 or later. The patch updates model queries to route user retrieval through sanitized internal getters that remove email fields.
If immediate software updates cannot be deployed, administrators should limit project sharing with unverified external users. Additionally, reverse proxies or Web Application Firewalls (WAF) can be configured to strip the email property from JSON response payloads returning from /api/v1/tasks/*/assignees.
To audit potential historical exploitation, server access logs can be inspected for systematic HTTP GET queries targeting task assignee API paths.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
Vikunja Vikunja | < 2.6.0 | v2.6.0 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-200 |
| CVSSv3 Score | 4.3 (Medium) |
| Attack Vector | Network (Authenticated) |
| Impact | Information Disclosure (PII / Private Email) |
| Exploit Status | Proof-of-Concept |
| Patched Version | v2.6.0 |
The application exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
CVE-2026-126298 (also tracked as GHSA-r53h-rw34-8h97) is an algorithmic complexity Denial of Service (DoS) vulnerability in the Natural Language Toolkit (NLTK) Python library affecting all versions prior to 3.10.4. The vulnerability resides in the nltk.tree.transforms.chomsky_normal_form function and its corresponding public method Tree.chomsky_normal_form(). When transforming a parse tree into Chomsky Normal Form using the default right-factoring strategy, the function repeatedly invokes list.pop(0) inside a loop iterating over all children of a node. In CPython, removing the initial element of a standard list requires an O(N) memory shift operation, causing the overall binarization algorithm to degrade to O(N^2) quadratic time complexity relative to the width of a node. Furthermore, converting horizontal node width into vertical tree depth bypasses initial parsing depth bounds, triggering subsequent stack exhaustion (RecursionError) when recursive methods traverse the mutated structure. Unauthenticated remote attackers who can submit bracketed tree strings to applications invoking this transformation can exhaust single-threaded CPU resources or induce unhandled application exceptions.
An algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) before version 3.10.4 allows remote unauthenticated attackers to cause a denial of service via crafted Combinatory Categorial Grammar (CCG) lexicon strings. The parser in nltk.ccg.lexicon.fromstring performs repeated immutable string slicing, concatenation, and regex tail capturing, resulting in O(n^2) CPU consumption when processing wide, flat category definitions.
CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.
CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.
The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.
CVE-2026-126304 is a symlink path traversal vulnerability (CWE-59) in the Natural Language Toolkit (NLTK) versions 3.10.0 prior to 3.10.4. The YCOECorpusReader class constructs internal sub-readers for the 'psd' and 'pos' subdirectories using FileSystemPathPointer.join(), which relies exclusively on lexical string-prefix validation rather than canonical path resolution. An attacker who supplies a crafted YCOE corpus containing symbolic links in place of the 'psd' or 'pos' subdirectories can bypass directory confinement and read arbitrary files from sibling corpora or sensitive directories within the NLTK data sandbox.