CVE-2026-140880 Apache Karaf: Incorrect Authorization vulnerability in the config service
apache software foundation apache karaf: no CVSS score yet.
The fix for CVE-2026-91012, released in Apache Karaf 4.4.12, restricts the file a new configuration is written to so that it stays inside ${karaf.etc}. This is not sufficient, because files reserved to the admin role, such as etc/users.properties and the JMX and command ACL files, are also located in ${karaf.etc}.
ConfigRepositoryImpl, which backs the config MBean and the config:* shell commands, still derives the target file from caller-supplied input such as the felix.fileinstall.filename property. The shipped ACLs select the required role from the configuration PID, not from the file that is written. An authenticated user with the manager role can therefore use a PID they are allowed to edit to overwrite a reserved file, and gain the admin role.
Users are recommended to upgrade to version 4.4.13 or 4.5.0, which fix the issue. A new configuration can now only be written to a file named after its own PID or factory PID, with a configuration file extension.
MitigationUsers who cannot upgrade should grant the manager role only to users trusted as much as admins. They can also require the admin role for edit, update and property-* in etc/org.apache.karaf.command.acl.config.cfg, and for create, update, setProperty, appendProperty and deleteProperty in etc/jmx.acl.org.apache.karaf.config.cfg.
- CWE
- CWE-863 Incorrect Authorization
- OWASP Top 10
- A01:2025 Broken Access Control
- Published
- Assigned by
- apache (CNA)
- NVD analysis
- Not in the NVD yet
- Record from
- the CVE List, synced
Fix and patched versions
- Vendor advisory: https://karaf.apache.org/security/cve-2026-91012.txt
Ask an AI about this CVE
Show the prompt
Explain CVE-2026-140880 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-140880?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-140880?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-140880 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Apache Software Foundation Apache Karaf | before 4.4.13 |