
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-33166 is an arbitrary file read vulnerability via path traversal in the Allure Report generator, affecting the Allure 1, Allure 2, and XCTest reader plugins. It was published on March 17, 2026, and affects all versions of io.qameta.allure:allure-generator up to and including 2.37.0, with version 2.38.0 containing the fix. The vulnerability carries a CVSS v3.1 base score of 8.6 (High) per the GitHub Advisory, with a scope-changed rating reflecting cross-boundary file access (GitHub Advisory, Allure2 Advisory).
The root cause is CWE-22 (Path Traversal): attachment paths in test result files are resolved using Java's Path.resolve() without normalizing the path or validating that the resolved location remains within the intended results directory. This affects three specific code locations — Allure2Plugin.java (line 264), Allure1Plugin.java (line 328), and XcTestPlugin.java (line 181) — where user-controlled input from -result.json, -container.json, or .plist files is passed directly to resolve(). Because resolve() honors both absolute paths and ../ sequences, an attacker can craft a malicious result file with an attachment source field pointing to any file readable by the process (e.g., ../../../../../../../../../../../etc/passwd), causing Allure to copy that file into the generated report's data/attachments/ directory (GitHub Advisory, Allure2 Advisory).
Successful exploitation results in arbitrary file read from the host filesystem, limited to files accessible by the process running Allure. In CI/CD environments such as GitHub Actions or Jenkins, an attacker who can submit a Pull Request can exfiltrate server secrets, cloud credentials (e.g., AWS keys, service account tokens), and environment configuration files stored on the runner disk. Custom Allure web services that allow users to upload test results are also at risk, enabling unauthenticated users to read arbitrary server-side files. Allure TestOps is explicitly noted as not affected (GitHub Advisory).
malicious-result.json with a path traversal payload in the source field of an attachment:{
"uuid": "poc-traversal",
"name": "Path Traversal PoC",
"status": "passed",
"attachments": [
{
"name": "Sensitive Data",
"source": "../../../../../../../../../../../etc/passwd",
"type": "text/plain"
}
]
}allure-results directory and submit it via a Pull Request to a repository whose CI pipeline runs allure generate, or upload it directly to a vulnerable Allure web service.allure generate allure-results -o allure-report, causing Allure to resolve the traversal path and copy the target file into allure-report/data/attachments/.allure-report/data/attachments/ that match sensitive system files (e.g., passwd, .env, credential files, SSH keys); result JSON files in allure-results/ containing ../ sequences or absolute paths in the source field of attachments.allure generate processing result files with unusual attachment source paths; file access events (if auditing is enabled) showing the Allure process reading files outside the results directory (e.g., /etc/passwd, ~/.aws/credentials).Upgrade io.qameta.allure:allure-generator to version 2.38.0 or later, which resolves the path traversal by properly validating and normalizing attachment paths before resolution (Allure2 Advisory). As interim mitigations: restrict who can submit Pull Requests or upload test results to trusted contributors only; run Allure report generation in an isolated environment (e.g., a container with minimal filesystem access and no sensitive credentials mounted); and audit existing generated reports for unexpected files in data/attachments/. For custom Allure web services, implement authentication and authorization on result upload endpoints.
The vulnerability received coverage from The Hacker Wire and was noted on Mastodon and Bluesky shortly after disclosure (The Hacker Wire). Security aggregators including radar.offseq.com and infinitsec.net published summaries highlighting the CI/CD supply chain risk angle. Community reaction focused on the ease of exploitation given the public PoC and the broad exposure of CI/CD pipelines that automatically process pull request test results.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."