CVE-2026-55846 Allure: Path Traversal in Allure Report HTTP Server Allows Arbitrary File Read
설명
Allure 2 is the version 2.x branch of Allure Report, a multi-language test reporting tool. Prior to 2.39.0, the HTTP server started by allure serve and allure open uses URI.getPath() in Commands.setUpServer() in allure-commandline/src/main/java/io/qameta/allure/Commands.java and passes the percent-decoded request path to reportDirectory.resolve() without normalizing the result or confirming that it remains inside that directory. An unauthenticated client that can reach the server can submit parent-directory segments, including percent-encoded segments, and cause serveFile() to return any regular file readable by the Allure process. The server binds to localhost by default, but the --host option can expose it to other systems, and local users, adjacent containers, or browser-origin attacks may reach a local listener. This can disclose credentials, configuration, source code, build secrets, and other CI/CD data. This issue is fixed in version 2.39.0.
영향 받는 제품 제품 1개
-
해결 버전 있음
allure-framework
allure2
영향 받는 버전
- 2.39.0 미만
해결 버전
- 2.39.0 이상
참고 자료 4건
- github.com https://github.com/allure-framework/allure2/commit/e83cd67658bc2266832ab366eadd0bc1f48baced (새 창)
- github.com https://github.com/allure-framework/allure2/pull/3288 (새 창)
- github.com https://github.com/allure-framework/allure2/releases/tag/2.39.0 (새 창)
- github.com https://github.com/allure-framework/allure2/security/advisories/GHSA-82cg-3hv7-74gc (새 창)