Vulnerabilities

CVE-2026-91048

Critical 9.8 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-09-29
Last modified
2026-10-07
Assigned by
security@apache.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Apache Karaf < 4.4.12 Affected

Weakness type

  • CWE-862: Missing Authorization

    The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1211: Exploitation for Stealth stealth
  • T1542.002: Component Firmware stealth, persistence
  • T1556: Modify Authentication Process defense-impairment, persistence, credential-access

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities