Live threats

All CVEs / Apache

CVE-2026-91048Apache Karaf

Privilege escalation to remote code execution in Apache Karaf

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Sep 29, 2026
Updated
Oct 7, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Apache Karaf fails to validate ACL rules for jdbc and jms shell commands, allowing authenticated users with viewer role to execute restricted commands. An attacker can create a JDBC datasource with a malicious URL that executes arbitrary code on connection, escalating privileges to remote code execution without requiring admin role.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 4.4.12

Update Apache Karaf to version 4.4.12 or later to apply correct ACL rules for jdbc and jms commands.

Vendor advisory · lists.apache.org ↗

  1. Apply the vendor's security update for Karaf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
apachekaraf< 4.4.12

Official sources

References

Links published by the sources. Open them with care.