-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 CVE-2026-129959: Apache Karaf: SFTP SCP file transfer on the SSH port bypasses the command ACL entirely Severity: important Affected versions: - - - Apache Karaf before 4.4.13 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 / Workaround Users 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). Credit: "wict0rious ." References: https://karaf.apache.org/ https://www.cve.org/CVERecord?id=CVE-2026-129959 -----BEGIN PGP SIGNATURE----- iQJPBAEBCAA5FiEEGqjPktQJpzOT0Lc2v/LuQsgoLnYFAmsFXxIbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEL/y7kLIKC52em0QAINskG3ik1I/L9r1PANL W86dqIFjL+aO/moaszAjIWtyxY57grh/DqP6dW7YqdhXLnEouu+CO4wAM/TcWGod e0+YIWM8dD6fD8EzQ0EYJKZGeHai2TvJWt2nciJAvVY3Wb/3HRPUdAmpWVls7X6O 49YqJQFB++bOR90Zr8SyqMXfC+rZr8EsNCLJL0WVZ8j9ivg92+s3w5h9kxe1ve+v H7AwVoT/eIIdMmp2h0I8TQRBOzuN4BwrbJnO/iF8pos+QRKeWYx8RFTmkHDnVTIy e1DEX+FqELEWtedwH35ev3dDlmIcJuFszKbIm7pWETuXSni56AhJdZ4o30sP0t00 qGyXbqplCcyQDYTdRWId1Vl+ZBtZk4l+1o3b5qUTLDmmvnjPGPoXpTGRx9G4zLVL M8z0Fvv8LV9YaycxLCFvphj0sLYwk8FNsCyZwqxr7ZtYEqtbmjDoo3gAMBmjhC1L N0OgncyWQlXxNpxrQSi2Bf8i++KRgJxcuVn7ukPViMmxS5qB0WvzZt09tDot46Py RFk/i3ftabTJtIPhiiH410BpRfqeYUu7DzORmepvXvuuciLcTjLUQlufjGQxM4B+ lNKQd0gue9uOgPMTt0nLf5lsKzuWytzh0xhg/8uEMoyoB1e1ZNrLfYAqHPJCAlss IOUQ6zbuq4C8ypgY69IR/h3/ =v25J -----END PGP SIGNATURE-----