{"answers":{"affected":"3 open source packages ship an affected version, including code.vikunja.io/api. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27819 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-27819 is a high-severity path traversal vulnerability in go-vikunja vikunja, published on 25 Feb 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27819 and fix it if it is affected.\n\nWhat it is: CVE-2026-27819 is a high-severity path traversal vulnerability in go-vikunja vikunja, published on 25 Feb 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27819 exists.\n\nAffected packages and fixed versions:\n- code.vikunja.io/api (Go): affected all versions; no fix listed\n- code.vikunja.io/api (Go): affected all versions up to 0.24.6; no fix listed\n- code.vikunja.io/api (Go): affected all versions up to 0.24.6; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-27819/ (Markdown: https://insights.sbomify.com/CVE-2026-27819/index.md)","id":"CVE-2026-27819","markdown":"https://insights.sbomify.com/CVE-2026-27819/index.md","name":"CVE-2026-27819","record":{"aliases":["GHSA-42wg-38gx-85rh","GO-2026-4556"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Vikunja task manager","requires_auth":"high_privilege","summary":"Attackers can overwrite arbitrary files and crash the application via a malicious ZIP archive during CLI restore operations in Vikunja.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"vikunja","vendor":"vikunja"}],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Vikunja is an open-source self-hosted task management platform. Prior to version 2.0.0, the restoreConfig function in vikunja/pkg/modules/dump/restore.go of the go-vikunja/vikunja repository fails to sanitize file paths within the provided ZIP archive. A maliciously crafted ZIP can bypass the intended extraction directory to overwrite arbitrary files on the host system. Additionally, we’ve discovered that a malformed archive triggers a runtime panic, crashing the process immediately after the database has been wiped permanently. The application trusts the metadata in the ZIP archive. It uses the Name attribute of the zip.File struct directly in os.OpenFile calls without validation, allowing files to be written outside the intended directory. The restoration logic assumes a specific directory structure within the ZIP. When provided with a \"minimalist\" malicious ZIP, the application fails to validate the length of slices derived from the archive contents. Specifically, at line 154, the code attempts to access an index of len(ms)-2 on an insufficiently populated slice, triggering a panic. Version 2.0.0 fixes the issue.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Vikunja has Path Traversal in CLI Restore","id":"CVE-2026-27819","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"zlib: Buffer Overflow in Zlib::GzipReader ungetc via large input leads to memory corruption","id":"CVE-2026-27820"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"code.vikunja.io/api","purl":"pkg:golang/code.vikunja.io/api","source":"GO-2026-4556"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.24.6"],"package":"code.vikunja.io/api","purl":null,"source":"GHSA-42wg-38gx-85rh"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.24.6"],"package":"code.vikunja.io/api","purl":"pkg:golang/code.vikunja.io/api","source":"GHSA-42wg-38gx-85rh"}],"prev":{"headline":"TerriaJS-Server has a domain validation bypass vulnerability in its proxy allowlist","id":"CVE-2026-27818"},"products":["vikunja"],"published":"2026-02-25","related":[{"cvss_score":9.8,"headline":"Vikunja Vulnerable to Account Takeover via Password Reset Token Reuse","id":"CVE-2026-28268","kev_date_added":null,"published":"2026-02-27"},{"cvss_score":9.1,"headline":"Vijkunja has Weak Password Policy Combined with Persistent Sessions After Password Change","id":"CVE-2026-27575","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":8.6,"headline":"Vikunja Affected by XSS Via Task Preview","id":"CVE-2026-25935","kev_date_added":null,"published":"2026-02-11"},{"cvss_score":8.3,"headline":"Vikunja Affected by Privilege Escalation via Project Reparenting","id":"CVE-2026-35595","kev_date_added":null,"published":"2026-04-10"},{"cvss_score":8.1,"headline":"Vikunja’s Improper Access Control Enables Bypass of Administrator-Imposed Account Disablement","id":"CVE-2026-33316","kev_date_added":null,"published":"2026-03-24"},{"cvss_score":8.1,"headline":"Vikunja has IDOR in Task Attachment ReadOne Allows Cross-Project File Access and Deletion","id":"CVE-2026-33678","kev_date_added":null,"published":"2026-03-24"},{"cvss_score":7.5,"headline":"Vikunja Vulnerable to Link Share Hash Disclosure via ReadAll Endpoint Enables Permission Escalation","id":"CVE-2026-33680","kev_date_added":null,"published":"2026-03-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["go-vikunja"]},"summary":"Attackers can overwrite arbitrary files and crash the application via a malicious ZIP archive during CLI restore operations in Vikunja.","url":"https://insights.sbomify.com/CVE-2026-27819/"}