Apache Karaf config service path flaw allows admin takeover
CVE-2026-91012 and 2 more
A Java server program can be switched to admin rights by a management account!
- CVE
- CVE-2026-91012 and 2 more
- Score
- CVSS 9.8 · CVE-2026-91012
- First seen
Mitigation
Update to Apache Karaf 4.4.13 or later, or 4.5.0. 4.4.12 does not block all of these flaws. If you cannot update yet, grant the manager role only to users trusted as much as admins, and require the admin role for edit, update and property-* in etc/org.apache.karaf.command.acl.config.cfg. Also restrict network access to SSH and JMX.
Update to at least the version for your product:
- Apache Karaf 4.4 4.4.13 or later
- Apache Karaf 4.5 4.5.0 or later
Summary
A path traversal flaw in ConfigRepositoryImpl#update of the Apache Karaf config service (org.apache.karaf.config.core.impl) lets an authenticated user with the manager role overwrite admin-only files and gain the admin role. Other flaws in the same group also allow privilege escalation.
Affected when
- Authenticated user with the manager role
- CVE-2026-91012 Apache Karaf before 4.4.12
- CVE-2026-140880, CVE-2026-141271 Apache Karaf before 4.4.13
- CVE-2026-141271 Apache Karaf 4.2.7 or later
Incidents by product: Apache Karaf
Other recent Incidents of Apache Karaf
3 CVEs (every link below opens in a new tab)
Read the advisory · karaf.apache.org (opens in a new tab)
Each of the 3 CVEs (every link below opens in a new tab)
- CVE-2026-91012A manager-role user can write config files to a chosen path. CVSS 9.8
- CVE-2026-140880The 4.4.12 fix is incomplete, so reserved admin files can still be overwritten. CVSS 8.8
- CVE-2026-141271Changing the config write path lets a manager-role user overwrite reserved files and gain admin. Score pending
Advisory (3): karaf.apache.org, lists.apache.org
- Discussion: CVE-2026-140880: Apache Karaf: Incorrect Authorization vulnerability in the config service (opens in a new tab)
- Discussion: CVE-2026-141271: Apache Karaf: config property-set can redirect configuration writes to reserved files (etc users.properties command JMX ACLs) via felix.fileinstall.filename manager-role user can gain admin (opens in a new tab)