{"id":"CVE-2026-91048","aliases":["CVE-2026-91048"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Karaf: Missing authorization on the jdbc:* shell command scope allows privilege escalation to remote code execution via jdbc:ds-create","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\".\n\n\nThe same applies to jms:* shell commands.","summarySource":"cvelist","descriptions":[{"lang":"en","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\".\n\n\nThe same applies to jms:* shell commands.","source":"cvelist"}],"published":"2026-09-29T08:34:47.193Z","modified":"2026-10-07T20:14:54.487Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.4.12","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Karaf","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.4.12"}],"vendor":"apache","product":"karaf","cpe":"cpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/ph3867mxh2tft75w0o1hpn10f5mbmw32","tags":["mailing-list","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/28/9","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["MopMonk-AI <mopmonk-ai@tophant.com>"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-01T14:13:10.417Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-91048","url":"https://www.cve.org/CVERecord?id=CVE-2026-91048","licence":"CVE Terms of Use","modified":"2026-10-01T14:13:30.717Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-91048","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-91048","licence":"Public domain","modified":"2026-10-07T20:14:54.487Z"}],"updatedAt":"2026-11-25T22:59:41.420Z","epss":{"score":0.00544,"percentile":0.47088,"date":"2026-12-01T12:00:22.000Z"}}