---
id: "CVE-2026-111729"
page: "https://infrastack.ai/live/CVE-2026-111729"
kind: "vulnerability"
aliases: ["CVE-2026-111729"]
title: "Kura: ZIP upload path check lets files be written outside the extraction directory"
severity: "high"
cvss: 7.0
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "Kura", "fixed": [], "affected": "<= 5.6.2", "ecosystem": "vendor"}]
ecosystems: []
tags: ["java", "kura", "package", "self-hosted"]
not_affected_if: ["auth-required", "default-config"]
published_at: "2026-11-10T17:17:20+00:00"
first_seen_at: "2026-11-10T17:22:40+00:00"
updated_at: "2026-11-10T17:27:27+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111729", "first_seen_at": "2026-11-10T17:22:40+00:00"}, {"source": "analyst", "url": "https://github.com/eclipse-kura/kura/releases", "first_seen_at": "2026-11-10T17:27:27+00:00", "cites": ["https://github.com/eclipse-kura/kura/releases"]}]
exploit_sources: []
---

# Kura: ZIP upload path check lets files be written outside the extraction directory

Link for people: https://infrastack.ai/live/CVE-2026-111729 (this .md is for agents)

Kura's command file-upload handler extracts client-supplied ZIP archives, but its path check compares prefixes without a trailing separator, so a sibling directory with a matching prefix is accepted. An authenticated user with the command permission can create directories and write attacker-controlled files outside the intended extraction root.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:Kura affected <= 5.6.2 fixed no fixed version listed

## How to check

- Check the installed Kura version; <= 5.6.2 is the affected range (5.6.3, released 2026-11-09, has archive extraction hardening but is not tied to this CVE by the vendor).
- Check whether the command service is enabled: it is disabled by default since 4.0.0; look for command.working.directory set in your configuration.
- List identities holding the rest.command permission; only they can reach POST /admin/denali/file/command.

## Fix

Fixed version not confirmed by the vendor for this CVE. Affected is <= 5.6.2. Kura 5.6.3 (2026-11-09) release notes mention 'safer archive extraction' but do not cite this CVE; upgrading to 5.6.3 is the likely fix, confirm against the Eclipse advisory. Until then keep the command service disabled and restrict the rest.command permission.

## Timeline

- 2026-11-10T17:22:40+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-111729
- 2026-11-10T17:27:27+00:00 analyst https://github.com/eclipse-kura/kura/releases — No Eclipse/GHSA advisory naming this CVE found; only NVD text plus 5.6.3 release notes (safer archive extraction, not CVE-tied). Fix left unconfirmed, nothing verified. Sibling CVE-2026-97401 same situation. Revisit when advisory appears.

## Documents

- [mentions] Eclipse Kura 5.6.3 release notes (Nov 2026) https://github.com/eclipse-kura/kura/releases

## From the sources

In Kura versions <= 5.6.2, the "Command" file-upload handler at `POST /admin/denali/file/command` extracts a client-supplied ZIP archive into the configured `command.working.directory`. The path-containment check `validateFileName()` compares canonical paths with `String.startsWith()` without appending a trailing path separator, so an entry that canonicalises to a sibling directory sharing the same string prefix (e.g. `/tmpevil/x` when the intended directory is `/tmp`) is accepted. The handler then calls `parent.mkdirs()` and `new FileOutputStream(newFile)`, creating directories and writing attacker-controlled bytes outside the intended extraction root.



The command service is disabled by default since Kura 4.0.0 [1]. The issue does not apply when the command service is disabled. The caller must be authenticated with `rest.command` permission.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
