Skip to content
FlawDB
Sign in

CVE-2026-141271

UNSCORED

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

AI summary AI generated

An authenticated manager-role user can redirect configuration writes to administrator-reserved files in Apache Karaf and gain the admin role.

Mitigation

  • Upgrade Apache Karaf to 4.4.13 or later.

Who should check

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

Vulnerability facts

Affected
Apache Software Foundation Apache Karaf >= 4.2.7, < 4.4.13
Fixed in
Apache Software Foundation Apache Karaf 4.4.13
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
CWE
CWE-73
Published
Modified

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

Package / productAffectedFixedSource
Apache Software Foundation Apache Karaf>= 4.2.7, < 4.4.13—cvelist

Versions mentioned in the description AI generated

Extracted by AI; each line quotes the description word for word. Source data above takes precedence.

  • Affected: apache karaf Apache Karaf from 4.2.7 before 4.4.13 This issue affects Apache Karaf from 4.2.7 before 4.4.13.
  • Affected: apache karaf Users who upgraded to 4.4.12 are still affected Users who upgraded to 4.4.12 to address CVE-2026-91012 are still affected.
  • Fixed: apache karaf 4.4.13 Users are recommended to upgrade to version 4.4.13 or 4.5.0, which fix the issue
  • Fixed: apache karaf 4.5.0 Users are recommended to upgrade to version 4.4.13 or 4.5.0, which fix the issue

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

Technologies

References

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.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.1CVE-2026-97733

Apache NiFi: Missing Authorization for Controller Service Referencing Component Updates

Apache Software Foundation (all projects)
LOW 2.3CVE-2026-97734

Apache NiFi: Authorization Bypass for Parameter Context Update and Validation Requests

Apache Software Foundation (all projects)
HIGH 7.6CVE-2026-107163

Apache NiFi: Incorrect Handling of Proxied Entity Identity during Cluster Request Replication

Apache Software Foundation (all projects)
LOW 2.1CVE-2026-107164

Apache NiFi: Missing Authorization when Attaching a Parameter Provider during Flow Replacement

Apache Software Foundation (all projects)
MEDIUM 5.1CVE-2026-107165

Apache NiFi: Missing Authorization when Creating Parameter Contexts during Parameter Provider Application

Apache Software Foundation (all projects)
Sponsors