CVE-2026-27819
HIGH 7.2CVSS 3.1Vikunja has Path Traversal in CLI Restore
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.
- Published
- 25 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-248
- Also known as
- GHSA-42wg-38gx-85rhGO-2026-4556
- Sources
- NVDJSONOSV GHSA-42wg-38gx-85rhJSONOSV GO-2026-4556JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vikunja | vikunjacpe:2.3:a:vikunja:vikunja:*:*:*:*:*:*:*:* |
< 2.0.0 | 2.0.0 |
| OSV | Go | code.vikunja.io/api | <= 0.24.6 | |
| OSV | Go | code.vikunja.io/api | all versions |
References
- https://github.com/go-vikunja/vikunja/security/advisories/GHSA-42wg-38gx-85rh · Exploit, Vendor Advisory, WEB, ADVISORY
- https://vikunja.io/changelog/vikunja-v2.0.0-was-released · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-27819 · ADVISORY
- https://github.com/go-vikunja/vikunja/commit/1b3d8dc59cb5f2b759ab0ad2bc9915b993e3cb73 · WEB
- https://github.com/go-vikunja/vikunja · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 25 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Feb 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Feb 2026)