Read the docs

Missing authorization in Apache Karaf SFTP and SCP file transfer

Priority MEDIUM 44CWE-862Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01757 78th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
ApacheApache Karafup to 4.4.12—No fix listedCNA
  • Apache Karaf VendorApache Affected up to 4.4.12 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:*——Apache
  • cpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:* Versions — — ·Apache

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

  1. 2026-11-24 Threatist record created from CVE-2026-129959
  2. 2026-11-24 CVSS score added · CISA ADP
  3. 2026-11-24 CISA SSVC decision points changed
  4. 2026-11-24 Alias added: GHSA-8774-j92h-q63r
  5. 2026-11-25 CISA SSVC decision points changed

References

  • 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
See all 4297 →

Sources