{"api_version":"1","generated_at":"2026-12-02T19:08:55+00:00","cve":"CVE-2026-141271","urls":{"html":"https://cve.report/CVE-2026-141271","api":"https://cve.report/api/cve/CVE-2026-141271.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-141271","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-141271"},"summary":{"title":"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","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.\n\n\nAn 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.\n\n\n\n\nThis 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.\n\n\n\n\nUsers 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.\n\nMitigationUsers who can't upgrade should only grant the manager role to users trusted as administrators, or require the admin role for:\n\n  *  edit, property-set, property-append, property-delete and update in etc/org.apache.karaf.command.acl.config.cfg\n  *  create, setProperty, appendProperty, deleteProperty and update in etc/jmx.acl.org.apache.karaf.config.cfg\n\n\nNetwork access to SSH and JMX should also be restricted.","state":"PUBLISHED","assigner":"apache","published_at":"2026-12-02 18:18:57","updated_at":"2026-12-02 18:18:57"},"problem_types":["CWE-73","CWE-73 CWE-73 External control of file name or path"],"metrics":[],"references":[{"url":"https://lists.apache.org/thread.html/82wcp3vtxtv8dw1z7g9xxstb7k96tgwg","name":"https://lists.apache.org/thread.html/82wcp3vtxtv8dw1z7g9xxstb7k96tgwg","refsource":"security@apache.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-141271","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141271","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Apache Software Foundation","product":"Apache Karaf","version":"affected 4.2.7 4.4.13 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Wanxin Yin","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.maven.apache.org/maven2","defaultStatus":"unaffected","packageName":"org.apache.karaf.config:org.apache.karaf.config.core","packageURL":"pkg:maven/org.apache.karaf.config/org.apache.karaf.config.core","product":"Apache Karaf","vendor":"Apache Software Foundation","versions":[{"lessThan":"4.4.13","status":"affected","version":"4.2.7","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"Wanxin Yin"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"When updating a configuration that has no backing file yet, the Karaf config service used the&nbsp;<code>felix.fileinstall.filename</code>&nbsp;property supplied by the caller to choose the file to write. The fix for CVE-2026-91012 restricted that file to the&nbsp;<code>${karaf.etc}</code>&nbsp;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.<div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><h3>Mitigation</h3><div>Users who can't upgrade should only grant the&nbsp;<code>manager</code>&nbsp;role to users trusted as administrators, or require the&nbsp;<code>admin</code>&nbsp;role for:</div><div><ul><li><code>edit</code>,&nbsp;<code>property-set</code>,&nbsp;<code>property-append</code>,&nbsp;<code>property-delete</code>&nbsp;and update in&nbsp;<code>etc/org.apache.karaf.command.acl.config.cfg</code></li><li><code>create</code>,&nbsp;<code>setProperty</code>,&nbsp;<code>appendProperty</code>,&nbsp;<code>deleteProperty</code>&nbsp;and update in&nbsp;<code>etc/jmx.acl.org.apache.karaf.config.cfg</code></li></ul><div>Network access to SSH and JMX should also be restricted.</div></div>"}],"value":"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.\n\n\nAn 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.\n\n\n\n\nThis 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.\n\n\n\n\nUsers 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.\n\nMitigationUsers who can't upgrade should only grant the manager role to users trusted as administrators, or require the admin role for:\n\n  *  edit, property-set, property-append, property-delete and update in etc/org.apache.karaf.command.acl.config.cfg\n  *  create, setProperty, appendProperty, deleteProperty and update in etc/jmx.acl.org.apache.karaf.config.cfg\n\n\nNetwork access to SSH and JMX should also be restricted."}],"metrics":[{"other":{"content":{"text":"important"},"type":"Textual description of severity"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-73","description":"CWE-73 External control of file name or path","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-02T17:49:30.322Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache"},"references":[{"tags":["vendor-advisory"],"url":"https://lists.apache.org/thread.html/82wcp3vtxtv8dw1z7g9xxstb7k96tgwg"}],"source":{"advisory":"https://karaf.apache.org/security/cve-2026-141271.txt","discovery":"EXTERNAL"},"title":"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","x_generator":{"engine":"Vulnogram 1.0.3"}}},"cveMetadata":{"assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","assignerShortName":"apache","cveId":"CVE-2026-141271","datePublished":"2026-12-02T17:49:30.322Z","dateReserved":"2026-12-01T13:59:56.680Z","dateUpdated":"2026-12-02T17:49:30.322Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-02 18:18:57","lastModifiedDate":"2026-12-02 18:18:57","problem_types":["CWE-73","CWE-73 CWE-73 External control of file name or path"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"141271","Ordinal":"1","Title":"Apache Karaf: config property-set can redirect configuration wri","CVE":"CVE-2026-141271","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"141271","Ordinal":"1","NoteData":"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.\n\n\nAn 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.\n\n\n\n\nThis 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.\n\n\n\n\nUsers 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.\n\nMitigationUsers who can't upgrade should only grant the manager role to users trusted as administrators, or require the admin role for:\n\n  *  edit, property-set, property-append, property-delete and update in etc/org.apache.karaf.command.acl.config.cfg\n  *  create, setProperty, appendProperty, deleteProperty and update in etc/jmx.acl.org.apache.karaf.config.cfg\n\n\nNetwork access to SSH and JMX should also be restricted.","Type":"Description","Title":"Apache Karaf: config property-set can redirect configuration wri"}]}}}