{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-91012","published":"2026-09-29T09:17:09.087000Z","last_modified":"2026-10-07T20:16:25.743000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"karaf","version_end_excluding":"4.4.12"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/karaf"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-91012/","html_en":"/en/cve/CVE-2026-91012/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-91012","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-91012"},"untrusted":{"vendor_name":"Apache","product_name":"Karaf","desc_en":"org.apache.karaf.config.core.impl.ConfigRepositoryImpl#update(pid, properties),\nwhich backs the \"config\" MBean and the config:* shell commands, derives the file\nit writes a configuration to from caller-supplied input without checking that\nthe result stays inside ${karaf.etc}:\n\n  *  if the submitted property map contains a felix.fileinstall.filename entry, that value is turned directly into a File (getCfgFileFromProperty), so it can point to any absolute path the Karaf process can write to;\n  *  otherwise the configuration PID is concatenated verbatim into the target file name (generateConfigFilename(): new File(karaf.etc, pid + \".cfg\")), so a PID containing \"..\" segments resolves outside ${karaf.etc}. createFactoryConfiguration() has the same issue via the factory PID/alias.\n\n\nBoth code paths are reachable by any caller holding the \"manager\" role under Karaf's shipped command/JMX ACL (org.apache.karaf.command.acl.conf.cfg: \"update = manager\"). Such a user can therefore write attacker-controlled content to any file the Karaf process can write, including files the same ACL otherwise reserves to \"admin\" (etc/users.properties, etc/*.acl.*.cfg, etc/org.apache.karaf.management.cfg, and similar), allowing a manager-role user to grant themselves the admin role or otherwise take over the container.\n\n\n\n\n\n\nConfigMBeanImpl.install() and the config:install shell command already guarded the equivalent risk on their own code path with a finalname.contains(\"..\") string check, but that check does not stop absolute paths or symlink-based escapes, and it was never applied to ConfigRepositoryImpl.update() / createFactoryConfiguration() at all.","affected":[{"untrusted_vendor":"Apache Software Foundation","untrusted_product":"Apache Karaf","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"66a0babc6ae8a16d15db144bbc5f93f3","generated":"2026-11-26T21:23:47.586794Z","es":{"untrusted_title":"Traversal de directorios en Apache Karaf Config Repository","untrusted_summary":"Apache Karaf versiones anteriores a 4.4.12 contienen una vulnerabilidad de traversal de directorios en ConfigRepositoryImpl que permite a usuarios con rol \"manager\" escribir archivos de configuración fuera del directorio ${karaf.etc}. Un atacante autenticado puede explotar esto para sobrescribir archivos sensibles, incluidos los de control de acceso, y escalar privilegios a rol \"admin\"."},"en":{"untrusted_title":"Directory Traversal in Apache Karaf Config Repository","untrusted_summary":"Apache Karaf versions before 4.4.12 contain a directory traversal vulnerability in ConfigRepositoryImpl that allows users with \"manager\" role to write configuration files outside the ${karaf.etc} directory. An authenticated attacker can exploit this to overwrite sensitive files, including access control files, and escalate privileges to \"admin\" role."},"remediation":{"status":"fix","fixed_versions":["4.4.12"],"untrusted_action_es":"Actualiza Apache Karaf a versión 4.4.12 o superior para aplicar la corrección de validación de rutas de archivo.","untrusted_action_en":"Update Apache Karaf to version 4.4.12 or later to apply the file path validation fix.","vendor_url":"https://lists.apache.org/thread/op8trtz1qxkdwj2rjozhd9yt2yd6nhw4"},"reviewed":false},"references":[{"url":"https://lists.apache.org/thread/op8trtz1qxkdwj2rjozhd9yt2yd6nhw4","tags":["Mailing List","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/28/8","tags":["Mailing List","Third Party Advisory"]}]}}