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/27/2026, 22:51:47 UTC

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.

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/27/2026, 10:51:47 PM

Last updated: 5/4/2026, 4:35:02 AM

Views: 54

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