{"cve":"CVE-2026-27819","nvd":{"published":"2026-02-25T22:16:27.127","modified":"2026-06-17T10:27:44.290","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2},"cwes":["CWE-22","CWE-248"],"references":["https://github.com/go-vikunja/vikunja/security/advisories/GHSA-42wg-38gx-85rh","https://vikunja.io/changelog/vikunja-v2.0.0-was-released"],"products":["vikunja:vikunja"],"source":"nvd","synced_at":"2026-10-19T22:24:17.937441719+00:00"},"epss":{"cve":"CVE-2026-27819","score":0.00832,"percentile":0.57637,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-42wg-38gx-85rh","url":"https://osv.dev/vulnerability/GHSA-42wg-38gx-85rh","summary":"Vikunja has Path Traversal in CLI Restore","modified":"2026-03-09T02:03:39.721134619Z","packages":[{"ecosystem":"Go","name":"code.vikunja.io/api","purl":"pkg:golang/code.vikunja.io/api","ranges":["<=0.24.6"],"fixed":[]}]},{"id":"GO-2026-4556","url":"https://osv.dev/vulnerability/GO-2026-4556","summary":"Vikunja has Path Traversal in CLI Restore in code.vikunja.io/api","modified":"2026-03-09T02:03:39.721134Z","packages":[{"ecosystem":"Go","name":"code.vikunja.io/api","purl":"pkg:golang/code.vikunja.io/api","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}