Missing authorization in Apache Karaf SFTP and SCP file transfer
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-862.
Summary
Apache Karaf versions through 4.4.12 expose the karaf.base directory over SFTP and SCP on the SSH port when sftpEnabled is true, which is the default. After the initial login check, file transfer does not verify the user's roles, a missing authorization flaw (CWE-862). An authenticated user with low-privileged roles can read sensitive configuration and key files or write bundles and configurations, which can lead to privilege escalation and arbitrary code execution.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Description from the CNA
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Apache Karaf 4.4.13 and 4.5.0 fix the issue and add the sftpRole property in org.apache.karaf.shell, which defaults to admin. Users are recommended to upgrade to one of these versions. On earlier versions where SFTP and SCP access is not required, set sftpEnabled=false in etc/org.apache.karaf.shell.cfg and restart the SSH server bundle or the Karaf instance.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Timeline
- 2026-11-24 Threatist record created from CVE-2026-129959
- 2026-11-24 CVSS score added · CISA ADP
- 2026-11-24 CISA SSVC decision points changed
- 2026-11-24 Alias added: GHSA-8774-j92h-q63r
- 2026-11-25 CISA SSVC decision points changed
References
More Apache vulnerabilities
- TI-2026-92478 Unauthenticated deserialization in Apache Roller XML-RPC endpoint KEVCVSS 3.1CRITICAL 9.8
- TI-2026-85977 Remote class instantiation in Apache Axis via SOAP faults KEVCVSS 3.1CRITICAL 9.8
- TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-129959 · CVE Program
- CVE-2026-129959 · NVD
- FIRST EPSS
- GHSA-8774-j92h-q63r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences