Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Apache

Advisory High CVE Analysis

Apache Karaf SFTP Flaw Lets Attackers Bypass SSH Command Access Controls

A newly disclosed vulnerability in Apache Karaf allows SFTP and SCP file transfers over the SSH port to skip the product's command access-control checks. The issue affects all versions through 4.4.12 when the default SFTP setting is enabled.

ApacheSSHWebVulnerabilities

Key points

  • CVE-2026-129959 affects Apache Karaf through version 4.4.12.
  • Enabling the default `sftpEnabled=true` setting exposes the full karaf.base directory via SFTP/SCP over the SSH port.
  • File transfers through this path bypass Karaf's command ACL role checks, beyond the initial SSH role verification.
  • No fixed version or official workaround is specified in the advisory.

According to a report posted on the oss-security mailing list by Jean-Baptiste Onofré, Apache Karaf contains a vulnerability tracked as CVE-2026-129959, rated "important" severity.

The flaw affects Apache Karaf through version 4.4.12. When the sftpEnabled=true setting is active in etc/org.apache.karaf.shell.cfg — which the advisory states is the default configuration — the SSH server exposes the full karaf.base directory tree through the MINA SSHD SFTP subsystem and SCP command factory. Crucially, this file-transfer path does not re-check the authenticated user's roles beyond the initial SSH role check, meaning Karaf's command access control list (ACL), which is meant to restrict what authenticated users can do, is effectively bypassed for file operations conducted via SFTP or SCP.

The advisory does not state which, if any, fixed version resolves the issue, nor does it describe a specific workaround beyond noting that the exposure depends on the sftpEnabled setting. Administrators running affected Karaf deployments should watch for an official patch announcement and review their SSH shell configuration in the meantime.

What to do

  1. Review whether `sftpEnabled` is set to true in etc/org.apache.karaf.shell.cfg on your Karaf instances.
  2. Monitor Apache Karaf's official channels for a patched release addressing CVE-2026-129959.
  3. Audit SSH/SFTP access logs for unexpected file transfer activity against the karaf.base directory tree.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

oss-securityseclists.org

“CVE-2026-129959: Apache Karaf: SFTP SCP file transfer on the SSH port bypasses the command ACL entirely”

Posted by Jean-Baptiste Onofré on Nov 24 Severity: important Affected versions: - Apache Karaf through 4.4.12 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 l…

Vulnerabilities mentioned

More on this topic