{"affected":[{"defaultStatus":"unaffected","ecosystem":"maven","packageName":"org.apache.karaf.shell:org.apache.karaf.shell.ssh","product":"Apache Karaf","source":"CNA: apache","vendor":"Apache Software Foundation","versions":[{"lessThanOrEqual":"4.4.12","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-129959","cwes":["CWE-862"],"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.\n\n\nApache 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.\n\nMitigation / WorkaroundUsers are recommended to upgrade to Apache Karaf 4.4.13 or 4.5.0.\n\n\n\n\nOn 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).","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.8,"severity":"high","source":"ADP: CISA-ADP","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1795545694923,"publishedAt":1795543953566,"references":[{"source":"CNA: apache","tags":["vendor-advisory"],"url":"https://lists.apache.org/thread/h5458p0jjn5o29hbymolrrlhcmkn053d"}],"remediation":[],"revision":"841e333c594902957ee2f925d21bd4692a49dc9c8b6abf230eda29f992b7f038","sources":[{"modifiedAt":1795545694923,"name":"CNA: apache","retrievedAt":1795547483874,"url":"https://www.cve.org/CVERecord?id=CVE-2026-129959"}],"ssvc":{"assessedAt":1795545683813,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"Apache Karaf: SFTP SCP file transfer on the SSH port bypasses the command ACL entirely","updatedAt":1795547483874}