# 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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **CWE:** CWE-73
- **Published:** 2026-12-02T17:49:30.322Z
- **Modified:** 2026-12-02T19:06:03.953Z

> **AI summary (AI-generated, claude-haiku-5-5):** An authenticated manager-role user can redirect configuration writes to administrator-reserved files in Apache Karaf and gain the admin role.

## Who should check

- Anyone running Apache Software Foundation Apache Karaf \>= 4.2.7, \< 4.4.13

## 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


Network access to SSH and JMX should also be restricted.

## Affected and fixed versions

- Apache Software Foundation Apache Karaf: \>= 4.2.7, \< 4.4.13 (cvelist)

## Technologies

Apache Software Foundation (all projects)

## Mitigation

- Upgrade Apache Karaf to 4.4.13 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-141271. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-141271.md
Affected: Apache Software Foundation Apache Karaf >= 4.2.7, < 4.4.13
Fixed in: Apache Software Foundation Apache Karaf 4.4.13

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-141271 being exploited?

There is no confirmed exploitation: CVE-2026-141271 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

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

It has no CVSS score yet. Unknown.

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

Apache Software Foundation Apache Karaf \>= 4.2.7, \< 4.4.13.

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

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

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

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://lists.apache.org/thread.html/82wcp3vtxtv8dw1z7g9xxstb7k96tgwg>

## 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-141271>

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