CVE Catalog

CVE-2026-55846

MediumCVSS 6.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

7th percentile - higher than 7% of all known CVEs

Summary

Allure 2 prior to version 2.39.0 contains a path traversal vulnerability in the HTTP server started by allure serve and allure open. The Commands.setUpServer() function uses URI.getPath() 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.

Risk Assessment

The vulnerability allows unauthorized reading of arbitrary files on the system, potentially leading to exposure of sensitive data such as credentials, configurations, or CI/CD secrets.

Recommendation

It is recommended to upgrade Allure to version 2.39.0 or later and avoid exposing the server to other systems unless necessary.

Other vulnerabilities in Allure 2

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS