Apache Karaf low-privilege account runs arbitrary code (SFTP and feature command bypass)
CVE-2026-129959 and 2 more
Apache Karaf servers open to remote login can be hacked by low-privilege accounts.
- CVE
- CVE-2026-129959 and 2 more
- Score
- CVSS 8.8 · CVE-2026-129959
- First seen
Mitigation
Update to Apache Karaf 4.4.13 or 4.5.0 or later. Until then, for CVE-2026-129959 set sftpEnabled=false in etc/org.apache.karaf.shell.cfg and restart the SSH server bundle (or Karaf instance). For CVE-2026-124615 and CVE-2026-130808, add requirement-add = admin and requirement-remove = admin to etc/org.apache.karaf.command.acl.feature.cfg; this takes effect without a restart. Each of these covers only its own CVEs, so the update is the only fix for the rest.
Update to at least the version for your product:
- Apache Karaf 4.4 4.4.13 or later
- Apache Karaf 4.5 4.5.0 or later
Can't update yet?
Add this line to etc/org.apache.karaf.shell.cfg:
sftpEnabled=false
A wrong setting can stop the service or lock you out. Check the source links below first.
Then restart the SSH server bundle (or Karaf instance).
Summary
An authenticated SSH user with only low-privilege roles such as viewer or ssh can run arbitrary code in Apache Karaf. Versions through 4.4.12 are affected. The same release also fixes command permission bypass flaws.
Affected when
- CVE-2026-129959 sftpEnabled=true (default in etc/org.apache.karaf.shell.cfg)
- SSH accounts with low-privilege roles such as viewer or ssh exist
- CVE-2026-124615, CVE-2026-130808 feature command ACL has no requirement-add or requirement-remove entries (default setup)
Incidents by product: Apache Karaf
Other recent Incidents of Apache Karaf
3 CVEs (every link below opens in a new tab)
Read the advisory · lists.apache.org (opens in a new tab)
Each of the 3 CVEs (every link below opens in a new tab)
- CVE-2026-129959SFTP and SCP file transfer can read config and key files and plant code to run. CVSS 8.8 CVE-2026-129959 advisory
- CVE-2026-124615A viewer-role account can run a command that downloads and runs an arbitrary bundle. CVSS 8.8 CVE-2026-124615 advisory
- CVE-2026-130808From a restricted SSH shell, the requirement-add command can install an arbitrary bundle. CVSS 8.8 CVE-2026-130808 advisory
Discussion (3): seclists.org
- CVE-2026-129959: Apache Karaf: SFTP SCP file transfer on the SSH port bypasses the command ACL entirely (opens in a new tab)
- CVE-2026-124615: Apache Karaf: feature:requirement-add / feature:requirement-remove command ACL bypass allows a viewer to install and run arbitrary code (opens in a new tab)
- CVE-2026-130808: Apache Karaf: feature requirement-add installs bundles from restricted SSH shell (opens in a new tab)