# CVE-2026-27819: Vikunja has Path Traversal in CLI Restore

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-25T21:40:38.703Z
- Modified: 2026-06-17T10:27:44.290Z
- Also known as: GHSA-42wg-38gx-85rh, GO-2026-4556
- Weaknesses: CWE-22, CWE-248
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- go-vikunja vikunja: < 2.0.0
- code.vikunja.io/api (Go): up to 0.24.6; all versions
- vikunja vikunja: before 2.0.0

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/go-vikunja/vikunja/security/advisories/GHSA-42wg-38gx-85rh> (exploit, advisory, vendor-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2026-27819](https://www.cve.org/CVERecord?id=CVE-2026-27819), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-42wg-38gx-85rh](https://github.com/advisories/GHSA-42wg-38gx-85rh), CC-BY-4.0, modified 2026-03-09
- Go Vulnerability Database: [GO-2026-4556](https://pkg.go.dev/vuln/GO-2026-4556), CC-BY-4.0, modified 2026-03-09
- NVD: [CVE-2026-27819](https://nvd.nist.gov/vuln/detail/CVE-2026-27819), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27819 · Whole record: https://cve.day/CVE-2026-27819.json · Rebuilt by cve.day 2026-11-25T22:59:14.905Z
