{"answers":{"affected":"1 open source package ship an affected version, including org.apache.karaf.shell:org.apache.karaf.shell.ssh.","exploited":"There is no known exploitation of CVE-2026-129959 in the wild and no public exploit code.","exposure":"An affected version is exposed as installed. No special setting or call is needed.","fix":"No fix has been published for CVE-2026-129959 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-129959 is a high-severity missing authorization vulnerability in Apache Karaf, published on 24 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-129959 and fix it if it is affected.\n\nWhat it is: CVE-2026-129959 is a high-severity missing authorization vulnerability in Apache Karaf, published on 24 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-129959 in the wild and no public exploit code.\nExposure: An affected version is exposed as installed. No special setting or call is needed.\n\nAffected packages and fixed versions:\n- org.apache.karaf.shell:org.apache.karaf.shell.ssh (Maven): affected all versions up to 4.4.12; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-129959/ (Markdown: https://insights.sbomify.com/CVE-2026-129959/index.md)","id":"CVE-2026-129959","markdown":"https://insights.sbomify.com/CVE-2026-129959/index.md","name":"CVE-2026-129959","record":{"aliases":["GHSA-8774-j92h-q63r"],"analysis":{"component_type":"server_software","exploitable_when_present":false,"fix_type":"upgrade","impacts":["privilege_escalation","code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OSGi application container","requires_auth":"low_privilege","requires_specific_call":false,"summary":"Low-privileged Karaf users can use SFTP/SCP to read sensitive config and keys or write arbitrary bundles, gaining code execution.","user_interaction":"not_required","vuln_class":"missing_authorization","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"apache","component":null,"cpe":[],"cvss":{"score":8.8,"severity":"high","source":"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"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"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\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\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).","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Apache Karaf: SFTP SCP file transfer on the SSH port bypasses the command ACL entirely","id":"CVE-2026-129959","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":"org.apache.karaf.shell:org.apache.karaf.shell.ssh","n_packages":1,"n_references":1,"n_vendor_status":0,"next":{"headline":"Remote Code Execution in LMS","id":"CVE-2026-129961"},"nickname":null,"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["4.4.12"],"name_kind":null,"package":"org.apache.karaf.shell:org.apache.karaf.shell.ssh","purl":"pkg:maven/org.apache.karaf.shell/org.apache.karaf.shell.ssh","purl_source":"cna","scope":"upstream","source":"CVE-2026-129959"}],"prev":{"headline":"PrestaShop before 8.2.9 and 9.2.1 Path Traversal RCE via Theme/Module Import","id":"CVE-2026-129957"},"products":["Apache Karaf"],"published":"2026-11-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-25","vendor_status":[],"vendors":["Apache Software Foundation"]},"summary":"Low-privileged Karaf users can use SFTP/SCP to read sensitive config and keys or write arbitrary bundles, gaining code execution.","url":"https://insights.sbomify.com/CVE-2026-129959/"}