CVE-2026-129959
Last modified
CVE-2026-129959 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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)..
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).
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Karaf | <= 4.4.12 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-129959?
How severe is CVE-2026-129959?
How do I fix CVE-2026-129959?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-129952NodePress through 8.5.1 contains an authentication bypass vu…9.8
- CVE-2026-129953NodePress through 8.5.1 contains a rate limit bypass vulnera…5.3
- CVE-2026-129954NodePress through 8.5.1 contains an HTML injection vulnerabi…4.7
- CVE-2026-129955NodePress through 8.5.1 contains an authentication bypass vu…9.8
- CVE-2026-129956Sandboxie-Plus before 1.18.6 contains a local privilege esca…7.8
- CVE-2026-129957PrestaShop before 8.2.9 and 9.0.0 before 9.2.1 contains a pa…7.2
- CVE-2026-12996A use-after-free in OpenVPN 2.6.0 through 2.6.20 and 2.7_alp…8.1
- CVE-2026-129961LMS (Lan Management System) is vulnerable to Remote Code Exe…9.5
- CVE-2026-129969A maliciously crafted PDF file, when imported into Autodesk …5.5
- CVE-2026-12997The Gravity Forms plugin for WordPress is vulnerable to Dire…7.5
- CVE-2026-129970A maliciously crafted PNG file, when imported into Autodesk …5.5
- CVE-2026-129971A buffer overflow vulnerability exists in the SNMP service o…8.7
Are you affected by CVE-2026-129959?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
