<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Vikunja - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/vikunja/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 10 Jul 2026 15:18:05 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/vikunja/feed.xml" rel="self" type="application/rss+xml"/><item><title>Authorization Flaws in Vikunja Expose Share Hashes and Allow Attachment Manipulation</title><link>https://feed.craftedsignal.io/briefs/2026-07-vikunja-auth-idor/</link><pubDate>Fri, 10 Jul 2026 15:18:05 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-vikunja-auth-idor/</guid><description>Authorization flaws in Vikunja before version 2.2.1 allow authenticated users with read access to escalate privileges by obtaining admin-level share hashes via the LinkSharing.ReadAll endpoint, and also permit instance-wide data exfiltration and destruction by manipulating task attachments through an Insecure Direct Object Reference (IDOR) vulnerability in the GetTaskAttachment endpoint.</description><content:encoded><![CDATA[<p>CVE-2026-56765 details two critical authorization flaws affecting Vikunja versions prior to 2.2.1. The first vulnerability resides in the <code>LinkSharing.ReadAll</code> API endpoint, which inadvertently exposes sensitive share hashes to any authenticated user possessing read access. This exposure allows an attacker to obtain hashes for admin-level shares, facilitating a privilege escalation to gain unauthorized access to administrative functions or content. The second flaw is an Insecure Direct Object Reference (IDOR) found in the <code>GetTaskAttachment</code> endpoint. While this endpoint performs initial permission checks based on user-supplied task IDs, it subsequently fetches attachments by sequential ID without proper ownership verification. This oversight enables an attacker to bypass access controls, leading to the unauthorized download and deletion of all file attachments across every project within the Vikunja instance, resulting in severe data breach and data loss risks.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An authenticated attacker, with at least read access to the Vikunja instance, sends a request to the <code>LinkSharing.ReadAll</code> API endpoint.</li>
<li>The <code>LinkSharing.ReadAll</code> endpoint responds by exposing sensitive share hashes, including those associated with admin-level shares, to the attacker.</li>
<li>The attacker utilizes the obtained admin-level share hashes to bypass intended access controls and escalate their privileges to gain unauthorized access to administrative functions or content.</li>
<li>(Potentially independently or chained) The attacker sends requests to the <code>GetTaskAttachment</code> endpoint, supplying arbitrary task IDs.</li>
<li>The <code>GetTaskAttachment</code> endpoint performs permission checks against the <em>supplied</em> task ID but then fetches attachments by <em>sequential ID</em> from the backend data store.</li>
<li>The endpoint fails to verify ownership or authorization for the attachments retrieved by sequential ID, allowing the attacker to bypass access controls.</li>
<li>The attacker iterates through sequential attachment IDs, downloading all file attachments across all projects throughout the entire Vikunja instance, leading to data exfiltration.</li>
<li>The attacker can also leverage the same IDOR to send delete requests for these sequential attachment IDs, resulting in the deletion of all file attachments across all projects instance-wide.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-56765 leads to critical security consequences impacting the entire Vikunja instance. Attackers can escalate their privileges to administrative levels, gaining unauthorized control over the platform's features and data. More significantly, the IDOR vulnerability allows for an instance-wide data breach, enabling attackers to download all user-uploaded file attachments from every project. This could expose sensitive business documents, personal information, or proprietary data. Furthermore, the ability to delete all file attachments across all projects poses a severe data destruction risk, potentially leading to irreversible data loss and significant operational disruption.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch Vikunja installations to version 2.2.1 or later immediately to remediate CVE-2026-56765.</li>
<li>Review access logs for the <code>LinkSharing.ReadAll</code> and <code>GetTaskAttachment</code> endpoints for suspicious or excessive access patterns.</li>
<li>Implement API gateway logging to capture full HTTP request and response bodies for deeper analysis of unexpected data exposure or IDOR attempts on <code>CVE-2026-56765</code> related endpoints.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>authorization-bypass</category><category>idor</category><category>data-exfiltration</category><category>data-destruction</category><category>web-application</category><category>cve</category></item><item><title>Vikunja Unauthenticated Instance-Wide Data Breach via Link Share and IDOR</title><link>https://feed.craftedsignal.io/briefs/2024-01-vikunja-idor/</link><pubDate>Tue, 30 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-vikunja-idor/</guid><description>Chained authorization flaws in Vikunja allow an unauthenticated attacker to download and delete all file attachments across all projects by disclosing share hashes and exploiting cross-project attachment access.</description><content:encoded><![CDATA[<p>An unauthenticated attacker can exploit two chained vulnerabilities in Vikunja, a self-hosted to-do list application, to achieve instance-wide data exfiltration and destruction. The vulnerability lies in versions 2.2.0 and earlier. The first vulnerability involves the disclosure of link share hashes, including those with administrative privileges, via the <code>ReadAll</code> endpoint for link shares. The second vulnerability is a cross-project attachment IDOR (Insecure Direct Object Reference) that arises from improper permission checks in the <code>ReadOne</code>/<code>GetTaskAttachment</code> endpoint. By chaining these vulnerabilities, an attacker can escalate privileges from a read-only link share to an administrative role, enumerate all attachments across all projects, and then download or delete any attachment, regardless of project membership or access controls. This poses a significant risk to the confidentiality and integrity of data stored within Vikunja instances.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker obtains a URL for a public link share (e.g., via social engineering or accidental exposure).</li>
<li>Attacker authenticates to the Vikunja API using the read-only link share hash via <code>POST /shares/{hash}/auth</code> to obtain a JWT.</li>
<li>The attacker enumerates all link shares for the project associated with the initial share using <code>GET /projects/{id}/shares</code>. The API discloses all share hashes, including those with admin privileges.</li>
<li>The attacker authenticates using an admin-level share hash via <code>POST /shares/{admin_hash}/auth</code> to escalate privileges.</li>
<li>The attacker identifies an accessible task ID within the project using <code>GET /projects/{id}/tasks</code>. This task is only used to bypass initial checks.</li>
<li>The attacker exploits the attachment IDOR by sending requests like <code>GET /tasks/{accessible_task}/attachments/{1..N}</code> to enumerate attachment IDs sequentially across all projects.  The server checks permissions against the specified task but serves attachments based solely on the attachment ID.</li>
<li>The attacker downloads attachments from any project by iterating through attachment IDs.</li>
<li>If the attacker escalated to an admin share, they can delete attachments from other projects using <code>DELETE /tasks/{accessible_task}/attachments/{TARGET_ATTACHMENT_ID}</code> causing data loss.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of these vulnerabilities leads to a complete breach of data confidentiality and integrity. An attacker, starting with just a publicly shared link, can download every file attachment across all projects, potentially exposing sensitive documents, images, and other confidential information. The vulnerability allows for the deletion of arbitrary attachments, leading to significant data loss. The impact is amplified by the minimal attack prerequisites and the wide blast radius, affecting all projects and users within the Vikunja instance. Given that link shares are designed for external collaboration, a single leaked link can compromise the entire Vikunja instance.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Apply the recommended fixes as outlined in the advisory (<a href="https://github.com/advisories/GHSA-2pv8-4c52-mf8j">https://github.com/advisories/GHSA-2pv8-4c52-mf8j</a>). Specifically, ensure that the <code>Hash</code> field is cleared in <code>ReadAll</code> responses for link shares.</li>
<li>Implement the suggested fix for the attachment IDOR by verifying task ownership in the <code>ReadOne</code> method within <code>pkg/models/task_attachment.go</code>.</li>
<li>Deploy the Sigma rule to detect suspicious attachment downloads across projects based on sequential attachment ID enumeration.</li>
<li>Deploy the Sigma rule to detect link share enumeration, as this is the initial step in the attack chain.</li>
<li>Monitor web server logs for unusual patterns of API requests, particularly to the <code>/projects/{id}/shares</code> and <code>/tasks/{accessible_task}/attachments/{1..N}</code> endpoints.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>vikunja</category><category>idor</category><category>privilege-escalation</category><category>data-breach</category></item><item><title>Vikunja TOTP Two-Factor Authentication Bypass via OIDC Login</title><link>https://feed.craftedsignal.io/briefs/2024-01-vikunja-totp-bypass/</link><pubDate>Wed, 03 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-vikunja-totp-bypass/</guid><description>Vikunja version 2.2.2 and earlier has a two-factor authentication bypass vulnerability via the OIDC login path, where TOTP enrollment is ignored when a local user with TOTP enabled is matched via OIDC email fallback, allowing attackers with a matching email address in the OIDC provider to gain access without the second factor.</description><content:encoded><![CDATA[<p>Vikunja, a self-hostable to-do list application, is vulnerable to a two-factor authentication bypass (CVE-2026-34727) affecting versions 2.2.2 and earlier. The vulnerability arises in the OIDC (OpenID Connect) login flow when the <code>EmailFallback</code> option is enabled. If a local user has TOTP (Time-Based One-Time Password) enabled and their email address matches a user authenticating through the OIDC provider, the TOTP check is skipped. This allows an attacker who can authenticate to the OIDC provider with a matching email address to bypass the TOTP requirement and gain unauthorized access to the Vikunja account. This issue stems from the OIDC callback handler (<code>pkg/modules/auth/openid/openid.go</code>) issuing a JWT without verifying TOTP status.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker identifies a Vikunja instance with OIDC enabled and <code>EmailFallback</code> set to <code>true</code>.</li>
<li>The attacker identifies a valid local user with TOTP enabled and determines the user's email address.</li>
<li>The attacker creates or compromises an account on the configured OIDC provider that uses the same email address as the target Vikunja user.</li>
<li>The attacker initiates the OIDC login flow to the Vikunja instance.</li>
<li>The OIDC provider authenticates the attacker using their compromised or created account.</li>
<li>Vikunja's OIDC callback handler (<code>pkg/modules/auth/openid/openid.go</code>) matches the email address from the OIDC provider to the local user.</li>
<li>The callback handler incorrectly issues a JWT without performing TOTP verification, bypassing the second factor.</li>
<li>The attacker uses the received JWT to authenticate to the Vikunja API and gains full access to the user's account.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an attacker to bypass TOTP two-factor authentication and gain unauthorized access to Vikunja accounts. This can lead to data breaches, modification of tasks and projects, and potential further compromise of the Vikunja instance. Any user who has enrolled TOTP on their local account can have that protection completely bypassed if their email address is also present in the OIDC provider. This undermines the security of TOTP enrollment.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Apply the recommended fix by adding a TOTP check in the OIDC callback before issuing the JWT, as described in the advisory.</li>
<li>Disable the <code>EmailFallback</code> option in the Vikunja OIDC configuration until the patch is applied.</li>
<li>Monitor Vikunja logs for unusual OIDC login activity, specifically successful OIDC logins for users who also have local accounts with TOTP enabled.</li>
<li>Deploy the Sigma rule <code>Detect Vikunja Successful OIDC Login Bypassing TOTP</code> to identify successful logins that bypass TOTP.</li>
<li>Deploy the Sigma rule <code>Detect Vikunja OIDC Callback Request</code> to identify potential OIDC login attempts.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>vikunja</category><category>totp</category><category>oidc</category><category>bypass</category><category>cve-2026-34727</category></item><item><title>Vikunja Link Share Hash Disclosure Leads to Privilege Escalation</title><link>https://feed.craftedsignal.io/briefs/2024-01-vikunja-privesc/</link><pubDate>Tue, 02 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-vikunja-privesc/</guid><description>The Vikunja application is vulnerable to privilege escalation, where the LinkSharing.ReadAll() method permits authenticated users to list all link shares, including secret hashes, without proper authorization checks, allowing an attacker with a read-only link share to escalate to full admin access.</description><content:encoded><![CDATA[<p>Vikunja, a self-hosted to-do list application, suffers from a privilege escalation vulnerability due to improper access control in its link sharing feature. The <code>LinkSharing.ReadAll()</code> method allows authenticated users to list all link shares for a project, including their secret hashes. This bypasses the intended <code>LinkSharing.CanRead()</code> check, enabling an attacker with a read-only link share to retrieve hashes for write or admin link shares on the same project. By authenticating with these leaked hashes, an attacker can escalate to full administrative privileges. The vulnerability affects versions of Vikunja prior to 2.2.2. This issue is significant because it allows unauthenticated or low-privileged users to gain complete control over a Vikunja project without requiring valid credentials.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker obtains a read-only link share URL for a Vikunja project.</li>
<li>Attacker authenticates to the Vikunja API using the read-only link share hash via a POST request to <code>/api/v1/shares/READ_ONLY_HASH/auth</code>, receiving a JWT.</li>
<li>Attacker uses the read-only JWT to make a GET request to <code>/api/v1/projects/PROJECT_ID/shares</code>, listing all link shares associated with the project, including their hashes. This bypasses the intended <code>CanRead()</code> permission check.</li>
<li>The <code>ReadAll()</code> method returns the <code>Hash</code> field, which is used for authentication, for all link shares, including admin shares.</li>
<li>Attacker extracts the hash of an admin-level link share from the API response.</li>
<li>Attacker authenticates to the Vikunja API using the leaked admin link share hash via a POST request to <code>/api/v1/shares/ADMIN_HASH/auth</code>, receiving a new JWT with administrative privileges.</li>
<li>Attacker uses the admin JWT to perform administrative actions such as deleting the project via a DELETE request to <code>/api/v1/projects/PROJECT_ID</code>.</li>
<li>The attacker successfully escalates privileges and gains full control over the Vikunja project, causing disruption or data loss.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>This vulnerability allows an attacker with minimal access (a read-only link share) to gain full administrative control over a Vikunja project. This can lead to data breaches, unauthorized modifications, or complete deletion of project data. The vulnerability poses a high risk, especially for projects that utilize a tiered sharing approach, where read-only shares are publicly available while admin shares are intended for internal use. Successful exploitation grants the attacker the ability to perform any action within the affected project, leading to significant disruption and potential data loss.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Apply the patch or upgrade to Vikunja version 2.2.2 or later to address CVE-2026-33680.</li>
<li>Implement the authorization check in <code>LinkSharing.ReadAll()</code> as described in the advisory to prevent unauthorized access to link share hashes.</li>
<li>Deploy the Sigma rule <code>Vikunja_LinkShare_ReadAll_Hash_Disclosure</code> to detect attempts to list all link shares without proper authorization using the vulnerable <code>ReadAllWeb</code> handler.</li>
<li>Monitor web server logs for unusual API calls to <code>/api/v1/projects/*/shares</code> (where * is the project ID) that may indicate exploitation attempts, and investigate any anomalous activity.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>vikunja</category><category>privilege-escalation</category><category>credential-access</category></item></channel></rss>