Skip to main content

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

0
Medium
VulnerabilityCVE-2026-55846cvecve-2026-55846cwe-22
Published: 09/14/2026 (09/14/2026, 17:20:49 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. Prior to 2.39.0, the HTTP server started by allure serve and allure open uses URI.getPath() in Commands.setUpServer() in allure-commandline/src/main/java/io/qameta/allure/Commands.java and passes the percent-decoded request path to reportDirectory.resolve() without normalizing the result or confirming that it remains inside that directory. An unauthenticated client that can reach the server can submit parent-directory segments, including percent-encoded segments, and cause serveFile() to return any regular file readable by the Allure process. The server binds to localhost by default, but the --host option can expose it to other systems, and local users, adjacent containers, or browser-origin attacks may reach a local listener. This can disclose credentials, configuration, source code, build secrets, and other CI/CD data. This issue is fixed in version 2.39.0.

CVSS v3.1

Score 6.2medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

allure-framework

allure2

Affected versions
<2.39.0
io.qameta.allure/allure2
pkg:maven/io.qameta.allure/allure2
Affected versions
<2.39.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/14/2026, 17:47:28 UTC

Technical Analysis

Allure 2 versions before 2.39.0 have a path traversal vulnerability (CWE-22) in the HTTP server component used by allure serve and allure open commands. The server uses URI.getPath() and passes the percent-decoded request path to reportDirectory.resolve() without normalization or verifying that the resolved path remains within the intended directory. This allows an unauthenticated attacker who can reach the server to submit crafted paths with parent-directory segments (including percent-encoded ones) to read any regular file accessible by the Allure process. Although the server binds to localhost by default, the --host option can expose it externally, increasing attack surface. This can result in disclosure of sensitive CI/CD data such as credentials, configuration files, source code, and build secrets. The vulnerability is addressed in Allure 2.39.0.

Potential Impact

An unauthenticated attacker able to reach the Allure 2 HTTP server can exploit this path traversal vulnerability to read arbitrary files on the host system that the Allure process has access to. This can lead to disclosure of sensitive information including credentials, configuration, source code, and build secrets. The default localhost binding limits exposure, but use of the --host option or local user/browser-origin attacks can increase risk.

Mitigation Recommendations

Upgrade Allure 2 to version 2.39.0 or later, where this path traversal vulnerability is fixed. Until upgraded, avoid exposing the allure serve HTTP server beyond localhost and restrict access to trusted users only. No other vendor advisory or patch information is provided, so check the official Allure framework resources for the latest remediation guidance.

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-06-17T16:29:38.865Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa8300055bf5e2cf5600a5f

Added to database: 09/14/2026, 17:33:52 UTC

Last enriched: 09/14/2026, 17:47:28 UTC

Last updated: 09/15/2026, 03:19:53 UTC

Views: 8

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