# CVE-2026-91085: Apache Karaf: config:install missing ACL entry allows privilege escalation to admin

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.52% (percentile 37, 2026-11-26)
- **CWE:** CWE-862
- **Published:** 2026-09-29T08:39:33.209Z
- **Modified:** 2026-10-07T20:11:43.353Z

## Who should check

- Anyone running Apache Software Foundation Apache Karaf \< 4.4.12

## Description

Apache Karaf's shell/SSH command security is enforced by per-scope ACL configuration files (etc/org.apache.karaf.command.acl.\<scope\>.cfg). SecuredSessionFactoryImpl.checkSecurity() resolves the roles required for an invocation and, when no ACL rule matches the command, fails open: ACLConfigurationParser.Specificity.NO\_MATCH sets passCheck = true. The safety valve for this, karaf.secured.command.compulsory.roles, ships commented out in etc/system.properties, so an unmatched command is allowed for any authenticated user.


The shipped org.apache.karaf.command.acl.config ACL (assemblies/features/standard/src/main/feature/feature.xml, mirrored into instance/.../etc/org.apache.karaf.command.acl.config.cfg) has no install entry. It restricts delete to admin, restricts edit/property-\*/update on the jmx.acl.\*, org.apache.karaf.command.acl.\* and org.apache.karaf.service.acl.\* PIDs to admin, and allows manager for everything else, but config:install was simply unmatched, and therefore allowed for any authenticated user, including one holding only the viewer role.




config:install \<url\> \<finalname\> fetches url and writes it into ${karaf.etc} as finalname. It calls PathUtils.checkWithin() to block .. traversal outside karaf.etc, but that folder holds every security-relevant file Karaf ships: users.properties, keys.properties, host.key, and all org.apache.karaf.\*.acl.\* files, including the very ACL file that (mis)governs this command. With -o/--override, an existing file is overwritten with attacker-controlled bytes fetched from an arbitrary URL.




Because felix.fileinstall.dir = ${karaf.etc} (etc/config.properties), Felix FileInstall also watches and reloads any .cfg file dropped there, closing the loop without requiring a restart.




By contrast, bundle:install, feature:install and kar:install are all admin-only in their own ACLs, and config:delete is admin in this same ACL, config:install was the outlier.

MitigationAdd install = admin in etc/org.apache.karaf.command.acl.config.cfg (create the file is absent), and/or set karaf.secured.command.compulsory.roles=admin in etc/system.properties (and restart) to make unmatched commands fail closed by default.

## Affected and fixed versions

- Apache Software Foundation Apache Karaf: \< 4.4.12 (cvelist)

## Mitigation

- Upgrade Apache Karaf to 4.4.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-91085. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-91085.md
Affected: Apache Software Foundation Apache Karaf < 4.4.12
Fixed in: Apache Software Foundation Apache Karaf 4.4.12

Steps:
1. Search this machine and project for Apache Software Foundation Apache Karaf: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-91085 being exploited?

There is no confirmed exploitation: CVE-2026-91085 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-91085?

Medium: CVSS 6.3 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-91085?

Apache Software Foundation Apache Karaf \< 4.4.12.

### Is there a fix for CVE-2026-91085?

Yes. Fixed in Apache Software Foundation Apache Karaf 4.4.12. Upgrade Apache Karaf to 4.4.12 or later.

### How do I check if I'm affected by CVE-2026-91085?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://karaf.apache.org/security/cve-2026-91085.txt>
- other: <http://www.openwall.com/lists/oss-security/2026/09/28/10>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-91085>

HTML: <https://flawdb.com/CVE-2026-91085> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-91085>
