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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.05% (percentile 64, 2026-11-28)
- **CWE:** CWE-22, CWE-248
- **Aliases:** GHSA-42wg-38gx-85rh, GO-2026-4556
- **Published:** 2026-02-25T21:40:38.703Z
- **Modified:** 2026-06-17T10:27:44.290Z

## Who should check

- Projects that depend on Go package code.vikunja.io/api (\<= 0.24.6)
- Anyone running go-vikunja vikunja \< 2.0.0

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

## Affected and fixed versions

- Go `code.vikunja.io/api`: affected \<= 0.24.6; fixed no fix listed yet (osv)
- go-vikunja vikunja: \< 2.0.0 (cvelist)

## Mitigation

- Upgrade vikunja to 2.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-27819. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-27819.md
Affected: code.vikunja.io/api <= 0.24.6
Fixed in: go-vikunja vikunja 2.0.0

Steps:
1. Search this machine and project for code.vikunja.io/api (Go), go-vikunja vikunja: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-27819 being exploited?

There is no confirmed exploitation: CVE-2026-27819 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.05% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-27819?

High: CVSS 7.2 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-27819?

code.vikunja.io/api \<= 0.24.6.

### Is there a fix for CVE-2026-27819?

Yes. Fixed in go-vikunja vikunja 2.0.0. Upgrade vikunja to 2.0.0 or later.

### How do I check if I'm affected by CVE-2026-27819?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/go-vikunja/vikunja/security/advisories/GHSA-42wg-38gx-85rh>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-27819>
- patch: <https://github.com/go-vikunja/vikunja/commit/1b3d8dc59cb5f2b759ab0ad2bc9915b993e3cb73>
- other: <https://vikunja.io/changelog/vikunja-v2.0.0-was-released>
- other: <https://github.com/go-vikunja/vikunja>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-27819>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-42wg-38gx-85rh> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-4556> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-27819> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-27819>
