Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Apache Karaf SFTP Role Bypass (CVE-2026-129959)

CVE-2026-129959 is a missing authorization check in Apache Karaf's SSH file transfer features.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-129959
Vendor
Apache Software Foundation
Affected Product
Apache Karaf
Exploitation
Not confirmed
Published
2026-11-24

When SFTP is enabled, an authenticated user with only low-privilege roles can reach files under the Karaf base directory. Apache rates the flaw important; the NVD record lists a secondary CVSS 3.1 score of 8.8 (High).The issue crosses a role boundary after login. The initial sshRole check admits the user, but the SFTP and SCP paths do not enforce a separate file transfer role. An anonymous user is not within the attack scenario described by Apache.

What it allows

How Does CVE-2026-129959 Cross the Role Boundary?

Apache says Karaf enables SFTP by default in its SSH configuration. The server exposes the Karaf base directory through SFTP and SCP after the initial sshRole login check. It does not verify the user's roles again for those file operations.

A user with low-privilege roles, such as viewer and ssh, may therefore read sensitive configuration and key material. The same access may permit writes to monitored configuration or deployment locations. Apache says those writes can lead to privilege escalation and arbitrary code execution.

From 27 August to 25 November 2026, Brandefense Blackhole counted one dark-chat mention matching this CVE. This is a discussion count, not evidence of a confirmed incident or active exploitation. The CISA KEV catalog snapshot dated 24 November 2026 did not list the CVE.

Our defensive reading is to prioritize reachable Karaf SSH services that permit low-privilege logins. A vulnerability intelligence platform workflow can pair the version check with the effective SFTP setting and assigned roles.

Who is affected

Which Apache Karaf Versions and Settings Are Affected?

Apache lists Karaf releases before 4.4.13 as affected. The Apache CNA record specifies versions through 4.4.12 for the Karaf SSH component. The described path requires sftpEnabled=true and a user who can already pass the SSH login role check.

Apache says 4.4.13 and 4.5.0 add sftpRole, which defaults to admin. The new check applies to SFTP creation, SCP execution and virtual filesystem access. Confirm the deployed branch and running version through the patch management process; version alone does not show whether a restart or the intended role policy took effect.

Timeline

  1. 2026-11-24

    Apache disclosed the SFTP and SCP role bypass and recommended Karaf 4.4.13 or 4.5.0.

  2. 2026-11-24

    The Apache CNA published CVE-2026-129959. CISA's catalog snapshot dated 24 November did not list it.

  3. 2026-11-25

    The reviewed NVD record showed a secondary CVSS 3.1 score of 8.8 (High).

What to do

  1. Inventory Karaf SSH exposure

    Identify running Karaf instances and record their version, reachable SSH service, effective sftpEnabled setting and users assigned the SSH login role.

  2. Upgrade the affected branch

    Apply Apache Karaf 4.4.13 or 4.5.0, as appropriate for the deployment. Confirm the service starts on the patched version.

  3. Verify file transfer authorization

    Check the effective sftpRole policy after the upgrade. Confirm that a low-privilege test account cannot use SFTP or SCP to access the Karaf base directory.

  4. Disable unused transfer features

    If upgrading must wait and file transfer is unnecessary, set sftpEnabled=false in etc/org.apache.karaf.shell.cfg. Restart the SSH server bundle or Karaf instance, then verify SFTP and SCP are unavailable.

  5. Review possible misuse

    Inspect SSH authentication and file change records for unexpected access or changes in the Karaf base directory. Preserve relevant evidence under the local incident process.

What Brandefense can do

Frequently Asked Questions

Can CVE-2026-129959 be exploited without logging in?

Apache describes an authenticated user who passes the SSH login role check. Its advisory does not describe an anonymous attack path.

Which Apache Karaf releases fix CVE-2026-129959?

Apache recommends 4.4.13 or 4.5.0. Verify the running version and the effective sftpRole setting after applying the appropriate update.

What can operators do before upgrading?

Where SFTP and SCP are not needed, Apache recommends setting sftpEnabled=false and restarting the SSH server bundle or Karaf instance.

Sources

  1. CVE-2026-129959 Security AdvisoryApache Software Foundation
  2. CVE-2026-129959 RecordCVE Program / Apache CNA
  3. CVE-2026-129959 DetailNIST NVD
  4. Known Exploited Vulnerabilities CatalogCISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →