CVE-2026-141271: Apache Karaf: When updating a configuration that has no backing file yet, the Karaf config service used the felix.fileinstall.filename property supplied by the caller to choose the file to write
This Apache advisory covers CVE-2026-141271 in Apache Karaf.
- CVE-2026-141271
Am I affected by CVE-2026-141271?
You are affected if you run Apache Karaf at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| 4.2.7 before 4.4.13 | 4.4.13, 4.5.0 |
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- High
- Weakness
- CWE-73 External control of file name or path
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
When updating a configuration that has no backing file yet, the Karaf config service used the felix.fileinstall.filename property supplied by the caller to choose the file to write.
The fix for CVE-2026-91012 restricted that file to the ${karaf.etc} directory, but files reserved to administrators, such as etc/users.properties and the JMX and shell command ACLs, are located in that directory too. The configuration storage type could also be used to target such a file.
An authenticated user with the manager role, with access to the config shell commands or the config MBean, could overwrite these files and obtain the admin role.
This issue affects Apache Karaf from 4.2.7 before 4.4.13. Users who upgraded to 4.4.12 to address CVE-2026-91012 are still affected.
Users are recommended to upgrade to version 4.4.13 or 4.5.0, which fix the issue: a configuration can only be written to a configuration file named after its own PID or, for a factory configuration, its factory PID. An existing backing file must be a configuration file.
MitigationUsers who can't upgrade should only grant the manager role to users trusted as administrators, or require the admin role for:
- edit, property-set, property-append, property-delete and update in etc/org.apache.karaf.command.acl.config.cfg
- create, setProperty, appendProperty, deleteProperty and update in etc/jmx.acl.org.apache.karaf.config.cfg
Text from the source record.
How to fix CVE-2026-141271
Upgrade to the first fixed release for your version, shown in the table above.
Vendor guidance
- Users are recommended to upgrade to version 4.4.13 or 4.5.0, which fix the issue: a configuration can only be written to a configuration file named after its own PID or, for a factory configuration, its factory PID.
- MitigationUsers who can't upgrade should only grant the manager role to users trusted as administrators, or require the admin role for: * edit, property-set, property-append, property-delete and update in etc/org.apache.karaf.command.acl.config.cfg * create, setProperty, appendProperty, deleteProperty and update in etc/jmx.acl.org.apache.karaf.config.cfg Network access to SSH and JMX should also be restricted.
CVE-2026-141271 questions
Is CVE-2026-141271 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Apache advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2026-141271?
You are affected if you run Apache Karaf at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2026-141271?
Upgrade to a fixed release Apache lists for your version: 4.4.13, 4.5.0. The advisory's own guidance is above.
How serious is CVE-2026-141271?
Apache rates it high.
More Apache Software Foundation advisories
CVE-2026-140880Dec 1, 2026Apache Karaf: Incorrect Authorization vulnerability in the config serviceCVE-2026-129959Nov 24, 2026Apache Karaf: SFTP SCP file transfer on the SSH port bypasses the command ACL entirelyCVE-2026-124615Nov 24, 2026Apache Karaf: feature:requirement-add / feature:requirement-remove command ACL bypassCVE-2026-130808Nov 24, 2026Apache Karaf: feature requirement-add installs bundles from restricted SSH shellCVE-2026-92142Sep 29, 2026Apache Karaf: Authorization bypass in JMX MBean lifecycle operationsCVE-2026-91048Sep 29, 2026The jdbc shell command scope shipped no org.apache.karaf.command.acl.jdbc.cfg
Apache Software Foundation advisories, December 2026All Apache Software Foundation advisories
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).