CVE-2026-33166: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in allure-framework allure2
Allure 2 is the version 2.x branch of Allure Report, a multi-language test reporting tool. The Allure report generator prior to version 2.38.0 is vulnerable to an arbitrary file read via path traversal when processing test results. An attacker can craft a malicious result file (-result.json, -container.json, or .plist) that points an attachment source to a sensitive file on the host system. During report generation, Allure will resolve these paths and include the sensitive files in the final report. Version 2.38.0 fixes the issue.
AI Analysis
Technical Summary
Allure 2 is a widely used multi-language test reporting tool that generates reports based on test result files. Versions prior to 2.38.0 contain a path traversal vulnerability (CWE-22) identified as CVE-2026-33166. The vulnerability arises because Allure improperly limits pathname resolution when processing attachments referenced in test result files such as -result.json, -container.json, or .plist files. An attacker can craft a malicious test result file that specifies an attachment source path pointing to arbitrary sensitive files on the host filesystem. During report generation, Allure resolves these paths without adequate validation and includes the contents of these sensitive files in the generated report output. This results in an arbitrary file read vulnerability, potentially exposing confidential data such as configuration files, credentials, or private keys. The vulnerability has a CVSS 3.1 base score of 8.6, reflecting its high impact on confidentiality, ease of exploitation without authentication or user interaction, and the scope affecting all systems running vulnerable Allure versions. No known exploits are reported in the wild yet. The issue is resolved in Allure 2.38.0 by implementing proper path validation and restricting file access to intended directories during report generation.
Potential Impact
The primary impact of this vulnerability is unauthorized disclosure of sensitive information stored on the host system where Allure 2 is running. Attackers can leverage crafted test result files to read arbitrary files, potentially exposing secrets such as environment variables, API keys, private certificates, or internal configuration files. This can lead to further compromise of the affected environment, including privilege escalation or lateral movement if critical credentials are exposed. Organizations relying on Allure 2 for test reporting in CI/CD pipelines or development environments are at risk of data leakage. Since the vulnerability does not affect integrity or availability directly, the main concern is confidentiality breach. The ease of exploitation without authentication means attackers can exploit this vulnerability remotely if they can supply malicious test results, increasing the risk in multi-tenant or shared build environments.
Mitigation Recommendations
The most effective mitigation is to upgrade Allure 2 to version 2.38.0 or later, where the vulnerability is fixed. Until upgrade is possible, organizations should implement strict validation and sanitization of all test result files before processing them with Allure. Restricting file system permissions for the Allure process to limit access to sensitive directories can reduce exposure. Additionally, running Allure report generation in isolated or containerized environments with minimal privileges can contain potential damage. Monitoring and auditing test result files for suspicious or unexpected attachment paths can help detect exploitation attempts. Finally, organizations should review and secure sensitive files on hosts running Allure to minimize the impact if exposure occurs.
Affected Countries
United States, Germany, United Kingdom, India, China, Japan, France, Canada, Australia, South Korea
CVE-2026-33166: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in allure-framework allure2
Description
Allure 2 is the version 2.x branch of Allure Report, a multi-language test reporting tool. The Allure report generator prior to version 2.38.0 is vulnerable to an arbitrary file read via path traversal when processing test results. An attacker can craft a malicious result file (-result.json, -container.json, or .plist) that points an attachment source to a sensitive file on the host system. During report generation, Allure will resolve these paths and include the sensitive files in the final report. Version 2.38.0 fixes the issue.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Allure 2 is a widely used multi-language test reporting tool that generates reports based on test result files. Versions prior to 2.38.0 contain a path traversal vulnerability (CWE-22) identified as CVE-2026-33166. The vulnerability arises because Allure improperly limits pathname resolution when processing attachments referenced in test result files such as -result.json, -container.json, or .plist files. An attacker can craft a malicious test result file that specifies an attachment source path pointing to arbitrary sensitive files on the host filesystem. During report generation, Allure resolves these paths without adequate validation and includes the contents of these sensitive files in the generated report output. This results in an arbitrary file read vulnerability, potentially exposing confidential data such as configuration files, credentials, or private keys. The vulnerability has a CVSS 3.1 base score of 8.6, reflecting its high impact on confidentiality, ease of exploitation without authentication or user interaction, and the scope affecting all systems running vulnerable Allure versions. No known exploits are reported in the wild yet. The issue is resolved in Allure 2.38.0 by implementing proper path validation and restricting file access to intended directories during report generation.
Potential Impact
The primary impact of this vulnerability is unauthorized disclosure of sensitive information stored on the host system where Allure 2 is running. Attackers can leverage crafted test result files to read arbitrary files, potentially exposing secrets such as environment variables, API keys, private certificates, or internal configuration files. This can lead to further compromise of the affected environment, including privilege escalation or lateral movement if critical credentials are exposed. Organizations relying on Allure 2 for test reporting in CI/CD pipelines or development environments are at risk of data leakage. Since the vulnerability does not affect integrity or availability directly, the main concern is confidentiality breach. The ease of exploitation without authentication means attackers can exploit this vulnerability remotely if they can supply malicious test results, increasing the risk in multi-tenant or shared build environments.
Mitigation Recommendations
The most effective mitigation is to upgrade Allure 2 to version 2.38.0 or later, where the vulnerability is fixed. Until upgrade is possible, organizations should implement strict validation and sanitization of all test result files before processing them with Allure. Restricting file system permissions for the Allure process to limit access to sensitive directories can reduce exposure. Additionally, running Allure report generation in isolated or containerized environments with minimal privileges can contain potential damage. Monitoring and auditing test result files for suspicious or unexpected attachment paths can help detect exploitation attempts. Finally, organizations should review and secure sensitive files on hosts running Allure to minimize the impact if exposure occurs.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-17T21:17:08.888Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69bdc1299e4ece4ed250509f
Added to database: 3/20/2026, 9:50:33 PM
Last enriched: 3/27/2026, 10:51:47 PM
Last updated: 5/4/2026, 4:35:02 AM
Views: 54
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.