# CVE-2026-91048: Apache Karaf: Missing authorization on the jdbc:* shell command scope allows privilege escalation to remote code execution via jdbc:ds-create

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-09-29T08:34:47.193Z
- Modified: 2026-10-07T20:14:54.487Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Karaf: before 4.4.12
- apache karaf: before 4.4.12

## References

- <https://lists.apache.org/thread/ph3867mxh2tft75w0o1hpn10f5mbmw32> (mailing-list, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/09/28/9> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2026-91048](https://www.cve.org/CVERecord?id=CVE-2026-91048), CVE Terms of Use, modified 2026-10-01
- NVD: [CVE-2026-91048](https://nvd.nist.gov/vuln/detail/CVE-2026-91048), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2026-91048 · Whole record: https://cve.day/CVE-2026-91048.json · Rebuilt by cve.day 2026-11-25T22:59:41.420Z
