KURA · CVE-2026-111729 · Package
NO FIX YET · SEE WHAT TO DO
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.
first public Nov 10, 2026 · 2 sources
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Only deployments where the Kura command service is enabled, which is off by default since 4.0.0. The attacker must hold the rest.command permission. Deployments with the command service disabled are not affected.
Not affected if auth-required, default-config
Who cares java, kura, self-hosted
5.6.25.6.3 (2026-11-09) release notes mention safer archive extraction but do not cite this CVE; upgrading to is the likely fix, confirm against the Eclipse advisoryIn 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.
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
5.6.3This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.