Missing authorization in Apache Karaf
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-862.
Summary
The jdbc shell command scope shipped no org.apache.karaf.command.acl.jdbc.cfg. Karaf's command guard (SecuredSessionFactoryImpl) treats a command with no matching ACL rule as allowed, so any authenticated shell session (including one holding only the viewer role) could run every jdbc:* command. jdbc:ds-create stores a fully attacker-controlled JDBC URL into a pax-jdbc-config factory Configuration with no validation. pax-jdbc-config reactively turns that into a live DataSource. Several JDBC drivers run code or SQL at connection time based on URL parameters (e.g. H2 INIT=RUNSCRIPT), so a viewer-level shell user could reach arbitrary code execution, bypassing the admin-role gate that already protects shell:exec. This is a privilege-escalation-to-RCE chain, not merely an "admin misconfiguration". The same applies to jms:* shell commands.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Apache Karaf (Apache Software Foundation) Fixed in 4.4.12
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Karaf 4.4.12
4 records Highest priority Priority MEDIUM 3 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-61851 Apache Karaf: Path Traversal in Config Service Allows Manager-to-Admin Privilege EscalationPriority MEDIUM 50
- TI-2026-62238 Apache Karaf: Authorization bypass in JMX MBean lifecycle operationsPriority MEDIUM 41
- TI-2026-61871 Apache Karaf: config:install missing ACL entry allows privilege escalation to adminPriority LOW 28
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-91048
- 2026-10-03 Alias added: GHSA-pq4f-45cw-mm5m
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
More Apache Karaf vulnerabilities
- TI-2022-19035 Apache Karaf: JDBC JAAS LDAP injection CVSS 3.1CRITICAL 9.8
- TI-2018-08445 XML external entity injection in Apache Karaf CVSS 3.0CRITICAL 9.8
- TI-2026-61851 Apache Karaf: Path Traversal in Config Service Allows Manager-to-Admin Privilege Escalation CVSS 3.1CRITICAL 9.8
- TI-2020-17076 An issue was discovered in Legion of the Bouncy Castle BC Java 1.65 and 1.66. CVSS 3.1HIGH 8.1
- TI-2026-61846 Apache Karaf: OS Command Injection in Child-Instance Launch (instance:* / InstancesMBean) CVSS 3.1HIGH 8.8
- TI-2018-08443 Improper privilege management in Apache Karaf CVSS 3.0HIGH 8.8
Sources
- CVE-2026-91048 · CVE Program
- CVE-2026-91048 · NVD
- FIRST EPSS
- GHSA-pq4f-45cw-mm5m · GitHub Advisory Database · CC BY 4.0
- CVE-2026-91048 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences