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 multi-language test reporting tool widely used to generate detailed reports from automated test results. Versions prior to 2.38.0 contain a path traversal vulnerability (CVE-2026-33166, CWE-22) that arises from improper validation of file paths in test result attachments. Specifically, an attacker can craft malicious test result files (such as -result.json, -container.json, or .plist files) that specify attachment sources pointing to arbitrary files on the host filesystem. During report generation, Allure resolves these paths without sufficient restriction, causing it to read and embed the contents of sensitive files into the generated report. This leads to unauthorized disclosure of potentially sensitive information stored on the host system. The vulnerability has a CVSS 3.1 base score of 8.6, reflecting its high impact on confidentiality, ease of remote exploitation without authentication or user interaction, and the ability to affect multiple systems using vulnerable versions. While no known exploits are currently reported in the wild, the flaw represents a significant risk for organizations relying on Allure 2 for test reporting. The issue is resolved in version 2.38.0 by implementing proper path validation and restrictions to prevent traversal outside allowed directories.
Potential Impact
The primary impact of CVE-2026-33166 is unauthorized disclosure of sensitive files on systems running vulnerable versions of Allure 2. Attackers can exfiltrate confidential data such as configuration files, credentials, source code, or other sensitive artifacts by embedding them into test reports. This compromises confidentiality and may lead to further attacks if sensitive information is exposed. Since Allure is used in CI/CD pipelines and development environments, exposure could affect intellectual property and internal infrastructure details. The vulnerability does not affect data integrity or availability directly but can undermine trust in test reporting and leak critical information. Organizations worldwide using Allure 2 prior to 2.38.0 in their software development lifecycle are at risk, especially those handling sensitive or regulated data.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately upgrade Allure 2 to version 2.38.0 or later, where the path traversal flaw is fixed. Additionally, implement strict validation and sanitization of all test result files before processing, ensuring attachment paths do not reference files outside designated directories. Restrict file system permissions for the Allure report generation process to limit access to sensitive files. Employ network segmentation and access controls to limit who can submit test results to the reporting system. Monitor logs for unusual file access patterns during report generation. Incorporate security scanning of test artifacts to detect maliciously crafted files. Finally, educate development and QA teams about the risks of processing untrusted test data and enforce secure handling practices.
Affected Countries
United States, Germany, United Kingdom, France, India, China, Japan, South Korea, Canada, Australia
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 multi-language test reporting tool widely used to generate detailed reports from automated test results. Versions prior to 2.38.0 contain a path traversal vulnerability (CVE-2026-33166, CWE-22) that arises from improper validation of file paths in test result attachments. Specifically, an attacker can craft malicious test result files (such as -result.json, -container.json, or .plist files) that specify attachment sources pointing to arbitrary files on the host filesystem. During report generation, Allure resolves these paths without sufficient restriction, causing it to read and embed the contents of sensitive files into the generated report. This leads to unauthorized disclosure of potentially sensitive information stored on the host system. The vulnerability has a CVSS 3.1 base score of 8.6, reflecting its high impact on confidentiality, ease of remote exploitation without authentication or user interaction, and the ability to affect multiple systems using vulnerable versions. While no known exploits are currently reported in the wild, the flaw represents a significant risk for organizations relying on Allure 2 for test reporting. The issue is resolved in version 2.38.0 by implementing proper path validation and restrictions to prevent traversal outside allowed directories.
Potential Impact
The primary impact of CVE-2026-33166 is unauthorized disclosure of sensitive files on systems running vulnerable versions of Allure 2. Attackers can exfiltrate confidential data such as configuration files, credentials, source code, or other sensitive artifacts by embedding them into test reports. This compromises confidentiality and may lead to further attacks if sensitive information is exposed. Since Allure is used in CI/CD pipelines and development environments, exposure could affect intellectual property and internal infrastructure details. The vulnerability does not affect data integrity or availability directly but can undermine trust in test reporting and leak critical information. Organizations worldwide using Allure 2 prior to 2.38.0 in their software development lifecycle are at risk, especially those handling sensitive or regulated data.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately upgrade Allure 2 to version 2.38.0 or later, where the path traversal flaw is fixed. Additionally, implement strict validation and sanitization of all test result files before processing, ensuring attachment paths do not reference files outside designated directories. Restrict file system permissions for the Allure report generation process to limit access to sensitive files. Employ network segmentation and access controls to limit who can submit test results to the reporting system. Monitor logs for unusual file access patterns during report generation. Incorporate security scanning of test artifacts to detect maliciously crafted files. Finally, educate development and QA teams about the risks of processing untrusted test data and enforce secure handling practices.
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/20/2026, 9:51:07 PM
Last updated: 3/21/2026, 1:21:31 AM
Views: 12
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.