Patch Ticker
EnglishEN
Elevated

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
8.8
Products
Disclosed together Windows macOS Linux Apache Karaf

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)