CVE-2026-129959: Apache Karaf: SFTP SCP file transfer on the SSH port bypasses the command ACL entirely
This Apache advisory covers CVE-2026-129959 in Apache Karaf.
- CVE-2026-129959
Am I affected by CVE-2026-129959?
You are affected if you run Apache Karaf at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| Apache Karaf through 4.4.12 | 4.4.13, 4.5.0 |
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- High, CVSS 8.8
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H· base score 8.8, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-862
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
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).
Text from the source record.
How to fix CVE-2026-129959
Upgrade to the first fixed release for your version, shown in the table above.
Vendor guidance
- 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.
- Mitigation / WorkaroundUsers are recommended to upgrade to Apache Karaf 4.4.13 or 4.5.0.
CVE-2026-129959 questions
Is CVE-2026-129959 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Apache advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2026-129959?
You are affected if you run Apache Karaf at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2026-129959?
Upgrade to a fixed release Apache lists for your version: 4.4.13, 4.5.0. The advisory's own guidance is above.
How serious is CVE-2026-129959?
Apache rates it high, CVSS 8.8 out of 10.
More Apache Software Foundation advisories
CVE-2026-124615Nov 24, 2026Apache Karaf: The shell command ACL for the feature scopeCVE-2026-130808Nov 24, 2026In Apache Karaf, the default command ACL configuration for the feature scopeCVE-2026-92142Sep 29, 2026Apache Karaf: Authorization bypass in JMX MBean lifecycle operationsCVE-2026-91048Sep 29, 2026The jdbc shell command scope shipped no org.apache.karaf.command.acl.jdbc.cfgCVE-2026-91012Sep 29, 2026org.apache.karaf.config.core.impl.ConfigRepositoryImpl#update(pid, properties)CVE-2026-91006Sep 28, 2026Apache Karaf: OS Command Injection in Child-Instance Launch (instance:* / InstancesMBean)
Apache Software Foundation advisories, November 2026All Apache Software Foundation advisories
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.