{"answers":{"affected":"4 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-oldcore.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34151 exists.","fix":"Upgrade org.xwiki.platform:xwiki-platform-oldcore to a fixed version for your release line: 17.10.5 or 18.2.0.","what":"CVE-2026-34151 is a high-severity path traversal vulnerability in xwiki-platform, published on 14 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-34151 and fix it if it is affected.\n\nWhat it is: CVE-2026-34151 is a high-severity path traversal vulnerability in xwiki-platform, published on 14 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34151 exists.\n\nAffected packages and fixed versions:\n- org.xwiki.platform:xwiki-platform-oldcore (Maven): affected all versions; fixed in 17.10.5\n- org.xwiki.platform:xwiki-platform-oldcore (Maven): affected all versions; fixed in 17.10.5\n- org.xwiki.platform:xwiki-platform-oldcore (Maven): affected from 18.0.0-rc-1; fixed in 18.2.0\n- org.xwiki.platform:xwiki-platform-oldcore (Maven): affected from 18.0.0-rc-1; fixed in 18.2.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-34151/ (Markdown: https://insights.sbomify.com/CVE-2026-34151/index.md)","id":"CVE-2026-34151","markdown":"https://insights.sbomify.com/CVE-2026-34151/index.md","name":"CVE-2026-34151","record":{"aliases":["GHSA-qj4x-9g63-25g6"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"XWiki Platform","requires_auth":"none","summary":"Unauthenticated attackers can read arbitrary files via path traversal in XWiki when running on Jetty 12+, exposing sensitive configuration and host files.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-24","name":"Path Traversal: '../filedir'"}],"description":"XWiki Platform is a generic wiki platform. Prior to 17.10.5 and 18.2.0, the /skin/ action in com.xpn.xwiki.web.SkinAction can resolve double-encoded parent-directory segments outside the intended skin or web-application resource prefix when Jetty 12 or later decodes the request path. The affected lookup is replaced with Environment.getResourceAsStream(String, String), which constrains a resource to its expected prefix. An unauthenticated remote attacker can use the vulnerable behavior to read arbitrary resources permitted to the Jetty process, including WEB-INF/xwiki.cfg and, depending on deployment depth and operating-system permissions, host files. Tomcat and Jetty versions before 12 do not appear affected. This issue is fixed in versions 17.10.5 and 18.2.0.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-34151.yaml","stars":null,"title":"XWiki Platform - Path Traversal"}],"tier":"weaponised"},"has_fix":true,"headline":"XWiki Platform: Resource path traversal via /skin/ action endpoint in Jetty 12+","id":"CVE-2026-34151","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":4,"n_references":8,"next":{"headline":"Coolify: Command Injection via Newline in Pre/Post Deployment Commands (Heredoc Transport)","id":"CVE-2026-34152"},"packages":[{"ecosystem":"Maven","fixed":["17.10.5"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-oldcore","purl":null,"source":"GHSA-qj4x-9g63-25g6"},{"ecosystem":"Maven","fixed":["17.10.5"],"introduced":["0"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","source":"GHSA-qj4x-9g63-25g6"},{"ecosystem":"Maven","fixed":["18.2.0"],"introduced":["18.0.0-rc-1"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-oldcore","purl":null,"source":"GHSA-qj4x-9g63-25g6"},{"ecosystem":"Maven","fixed":["18.2.0"],"introduced":["18.0.0-rc-1"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","source":"GHSA-qj4x-9g63-25g6"}],"prev":{"headline":"Wazuh: Heap buffer overflow in wazuh-analysisd via rootcheck event parsing","id":"CVE-2026-34150"},"products":["xwiki-platform"],"published":"2026-09-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["xwiki"]},"summary":"Unauthenticated attackers can read arbitrary files via path traversal in XWiki when running on Jetty 12+, exposing sensitive configuration and host files.","url":"https://insights.sbomify.com/CVE-2026-34151/"}