Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-33166: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in allure-framework allure2

0
High
VulnerabilityCVE-2026-33166cvecve-2026-33166cwe-22
Published: Fri Mar 20 2026 (03/20/2026, 21:38:23 UTC)
Source: CVE Database V5
Vendor/Project: allure-framework
Product: 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

AILast updated: 03/20/2026, 21:51:07 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses