GHSA-g9vf-m6gc-f558
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Karaf shell via SSH as viewer
-
DeliveryInvoke feature:requirement-add with attacker bundle
-
ExploitResolver downloads and starts malicious bundle
-
ExecutionCode runs with full Karaf process authority
-
ImpactFull container compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an attacker who is already authenticated to Apache Karaf with a low-privilege account holding the viewer and ssh roles, and network access to the Karaf SSH shell console. The specific trigger is invoking the feature:requirement-add (or feature:requirement-remove) command with a bundle: or feature: requirement, which the provisioning resolver converts into an install/start action. The enabling condition is the shipped feature-scope command ACL (etc/org.apache.karaf.command.acl.feature.cfg) lacking requirement-add/requirement-remove entries on affected versions (≤ 4.4.12). Limiting factors: this is NOT remote-unauthenticated - a valid low-privilege account with SSH shell access is mandatory, and no admin credentials or victim user interaction are needed; the attacker-controlled bundle must be fetchable by the Karaf host. Exploitation is prevented by upgrading to 4.4.12/4.5.0 or by adding the two admin ACL lines, which takes effect at runtime without a restart. |
| Impact | This is a genuine authorization-bypass / privilege-escalation issue (CWE-863), not merely a high-CVSS-but-low-real-risk flaw, though its reach is bounded by its prerequisites. The input CVSS vector (AV:N/AC:L/PR:L/UI:N) is internally consistent with the description: exploitation is network-reachable over the Karaf SSH console, low in complexity, requires no user interaction, but does require a valid low-privileged account (PR:L), since the attacker must already hold the viewer and ssh roles. The decision signal is 'this_week' rather than act_now/emergency, and there is no CISA KEV listing and no EPSS score supplied, so there is no evidence of active or widespread exploitation. No PoC or exploit reference is present in the input, so this is no public exploit identified at time of analysis. The core risk driver is the C:H/I:H/A:H impact: a successful attacker downloads, installs and starts an attacker-chosen bundle that runs with the full authority of the Karaf process, which is a full compromise of the container. Net assessment: a real, prioritizable defect for environments that grant low-privilege shell/SSH accounts to semi-trusted users, but it is not a remote-unauthenticated internet-facing emergency. Note one documentation inconsistency to verify with the vendor: EUVD lists affected versions as 'Apache Karaf 0 ≤ 4.4.12' while the vendor mitigation text says to upgrade to 4.4.12 or 4.5.0, implying 4.4.12 is actually the fixed release of that branch. |
| Exploit ScenarioDerived | An attacker holding only a low-privilege Karaf account with the viewer and ssh roles logs into the Karaf shell over SSH and runs feature:requirement-add with a bundle: or feature: requirement. Because the feature-scope command ACL has no entry for requirement-add/requirement-remove, the provisioning resolver downloads and starts an attacker-chosen bundle that executes with the full authority of the Karaf process, bypassing the admin-only controls on feature:install and bundle:install. No public exploit code is identified in the provided data, but the technique is simple and requires no special timing or user interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 24, 2026
Apache Karaf lets an authenticated low-privilege user holding only viewer and ssh roles install and start an attacker-chosen bundle through feature:requirement-add or feature:requirement-remove, because those commands lack ACL entries and therefore bypass the admin-only authorization enforced on feature:install and bundle:install. The affected configuration is etc/org.apache.karaf.command.acl.feature.cfg, and EUVD lists Apache Karaf 0 through 4.4.12 as affected, while the vendor mitigation directs upgrading to Apache Karaf 4.4.12 or 4.5.0 (or later). No public exploit identified at time of analysis.
Earlier versions of this analysis (1)
An authenticated Karaf shell user who holds only the low-privilege viewer and ssh roles can escalate to full code execution by invoking feature:requirement-add or feature:requirement-remove, two commands that the feature-scope command ACL never covered. Those commands hand a bundle: or feature: requirement to the provisioning resolver, which downloads, installs and starts the referenced artifact with the full authority of the Karaf process, so the admin-only restriction enforced on feature:install, feature:uninstall, feature:start and feature:stop is effectively bypassed. Affected are Apache Karaf deployments through 4.4.12 that use the default etc/org.apache.karaf.command.acl.feature.cfg; the assessed vector is AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H because of the scope change from shell user to the Karaf process, although the CVE record itself is rated moderate. No public exploit code has been identified at time of analysis and there is no KEV entry, but exploitation requires only a valid viewer-level SSH shell account, which makes the gap relevant wherever read-only console users exist.
RemediationAI
Vendor-released patch: Apache Karaf 4.4.12 or 4.5.0 (or later), per the vendor mitigation, which restricts feature:requirement-add and feature:requirement-remove to the admin role. As an interim workaround on affected versions, add requirement-add = admin and requirement-remove = admin to etc/org.apache.karaf.command.acl.feature.cfg; the change is picked up at runtime without a restart. Apply the ACL change to every Karaf instance and confirm the file is deployed consistently, because the workaround only closes the missing entries for these two commands. See https://seclists.org/oss-sec/2026/q4/871, https://karaf.apache.org/, https://lists.apache.org/thread/trrzwgw5z0pzhk46cyvl6fvr7f6shgkz, and http://www.openwall.com/lists/oss-security/2026/11/24/11.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Karaf is an OSGi-based runtime whose shell exposes commands gated by role-based ACL files. The feature-scope ACL, etc/org.apache.karaf.command.acl.feature.cfg, restricts feature:install, feature:uninstall, feature:start and feature:stop to the admin role but omits feature:requirement-add and feature:requirement-remove. The provisioning resolver converts a requirement into the same install/start or uninstall action as feature:install or feature:uninstall: a bundle: requirement causes an arbitrary bundle to be downloaded and started, and a feature: requirement installs that feature. The root cause is CWE-863 incorrect authorization, the same class as the earlier feature:repo-add -i / feature:repo-remove -u bypass on sibling commands. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H indicates network reachability, low privileges, no user interaction and high confidentiality, integrity and availability ratings; PR:L confirms the requirement for an authenticated account, specifically one holding only the viewer and ssh roles with access to the Karaf SSH shell console. The attacker-chosen bundle must be fetchable by the Karaf host, and the resulting code runs with the full authority of the Karaf process. The trigger is invoking one of the unguarded requirement commands; the supplied sources do not describe any other trigger.
Know when Apache Karaf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Reachable over the SSH shell (AV:N, AC:L, UI:N) but requires an existing low-privilege viewer/ssh account (PR:L); running an arbitrary bundle in-process yields full C:H/I:H/A:H within the Karaf security authority (S:U).
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Articles & Coverage 1
Executive ViewAI
Apache Karaf's authorization model contains a gap that permits low-privilege users (viewer and ssh roles) to install and start arbitrary bundles, effectively bypassing administrative controls. This enables a malicious insider or compromised account to deploy untrusted code, risking full system compromise and undermining the platform's security architecture. Leadership should prioritize remediation due to the high severity and potential for privilege escalation.
No vendor-released patch identified at time of analysis. Interim mitigation: manually add ACL entries to etc/org.apache.karaf.command.acl.feature.cfg to restrict feature:requirement-add and feature:requirement-remove to admin roles only; audit logs for unauthorized bundle installations; enforce stricter role assignments.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Apache Karaf
View allPrivilege escalation to remote code execution in Apache Karaf before 4.4.12 lets any authenticated shell session - inclu
Authenticated path traversal in Apache Karaf before 4.4.12 allows a principal holding the shipped 'manager' role to writ
Authenticated command injection in Apache Karaf's instance-management service lets a principal who can reach the instanc
Authorization bypass in Apache Karaf before 4.4.12 allows an authenticated JMX client holding any role - including the l
LDAP filter injection in Apache Karaf before 4.4.12 allows a crafted login name to alter the structure of LDAP search fi
Privilege escalation in Apache Karaf versions before 4.4.12 allows any authenticated user of the shell or SSH console -
EUVD-2026-134215
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB