What is CVE-2026-129959?
CVE-2026-129959 is a high-severity missing authorization vulnerability in Apache Karaf, published on 24 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
When sftpEnabled=true (the default configuration in etc/org.apache.karaf.shell.cfg), the SSH server exposes the karaf.base directory tree through the MINA SSHD SFTP subsystem and SCP command factory without verifying the authenticated user's roles beyond the initial sshRole login check. Consequently, an authenticated user with only low-privileged roles (such as viewer and ssh) can read sensitive configuration and key files (including etc/users.properties and etc/host.key) or write arbitrary bundles/configurations into monitored directories (such as deploy/ or etc/), leading to privilege escalation and arbitrary code execution.
Apache Karaf 4.4.13 and 4.5.0 introduce the sftpRole configuration property in org.apache.karaf.shell (defaulting to admin) and enforce role-based access control on SFTP subsystem creation, SCP command execution, and virtual filesystem access.
Mitigation / WorkaroundUsers are recommended to upgrade to Apache Karaf 4.4.13 or 4.5.0.
On earlier versions where SFTP/SCP access is not required, set sftpEnabled=false in etc/org.apache.karaf.shell.cfg and restart the SSH server bundle (or Karaf instance).
Weakness: CWE-862
How severe is CVE-2026-129959?
CVE-2026-129959 scores 8.8 out of 10 under CVSS 3.1, which is high severity. It was scored by CISA.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Which versions are affected by CVE-2026-129959?
1 open source package ship an affected version, including org.apache.karaf.shell:org.apache.karaf.shell.ssh.
An affected version is exposed as installed. No special setting or call is needed.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.karaf.shell:org.apache.karaf.shell.ssh Mavenpkg:maven/org.apache.karaf.shell/org.apache.karaf.shell.ssh | All versions to 4.4.12 | None |
How do I fix CVE-2026-129959?
No fix has been published for CVE-2026-129959 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-129959 being exploited?
There is no known exploitation of CVE-2026-129959 in the wild and no public exploit code.
Sources
Also known as GHSA-8774-j92h-q63r.