Skip to main content

Allure Report EUVDEUVD-2026-77687

| CVE-2026-55846 MEDIUM
Path Traversal (CWE-22)
2026-06-19 https://github.com/allure-framework/allure2 GHSA-82cg-3hv7-74gc
6.2
CVSS 3.1 · Vendor: https://github.com/allure-framework/allure2
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Allure server port
  2. Delivery
    Craft HTTP request with ../ or %2e%2e traversal path
  3. Exploit
    Java URI.getPath() decodes percent-encoded sequences
  4. Execution
    reportDirectory.resolve() escapes report directory
  5. Persist
    serveFile() streams target file with no validation
  6. Impact
    Attacker receives arbitrary file contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the Allure HTTP server is actively running (via allure serve or allure open) and reachable by the attacker. By default the server binds only to localhost (127.0.0.1), restricting exploitation to: (1) other local OS users on the same multi-tenant host, (2) DNS rebinding attacks via malicious web pages visited by the user who started Allure, or (3) containers or processes sharing the same network namespace in CI/CD pipelines. When the --host flag is set to a non-loopback address such as 0.0.0.0, exploitation becomes possible from any network-accessible client with no authentication required - the built-in HttpServer has no credential enforcement. No special HTTP client capabilities are needed beyond the ability to send a path with ../ sequences, and percent-encoded equivalents (%2e%2e) work equally well due to URI.getPath() decoding. Exploitation is limited to file reads; no write or code execution primitive is exposed by this vulnerability alone.

Impact

The NVD-assigned CVSS vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N scores 6.2 and reflects the default localhost binding, which materially limits network-based exploitation. However, this score understates real-world risk in CI/CD and containerized deployments where --host 0.0.0.0 is a common operational pattern, effectively shifting the attack vector to network-accessible. No EPSS score was included in available data, so exploitation probability cannot be quantified from that signal. The vulnerability is not listed in CISA KEV at time of analysis, and no confirmed in-the-wild exploitation has been reported - however, a publicly available proof-of-concept is included in the GitHub Security Advisory, lowering the bar for exploitation significantly. Complexity is low: a single curl command suffices. For organizations running Allure in isolated developer workstations with default localhost binding, risk is moderate; for teams embedding Allure in shared CI/CD runners or Docker networks with --host 0.0.0.0, this is a high-priority issue given the potential exposure of build secrets, SSH keys, and deployment credentials.

Exploit ScenarioDerived

A CI/CD job on a shared runner starts Allure with allure serve ./test-results --host 0.0.0.0 --port 9090 to expose results for review. A co-located process or adjacent container on the same network sends curl --path-as-is 'http://runner-host:9090/../../../home/ci/.ssh/id_rsa', retrieving the CI runner's SSH private key in a single unauthenticated request. A working proof-of-concept demonstrating both direct traversal and percent-encoded variants is included in the published GitHub Security Advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 19, 2026

Path traversal in Allure Report's built-in HTTP server (allure-commandline <= 2.38.1) allows any client that can reach the server port to read arbitrary files accessible to the Allure process. The vulnerability exists in Commands.setUpServer() where request URI paths are resolved against the report directory without normalization or containment checks, and Java's URI.getPath() additionally percent-decodes sequences like %2e%2e to .., bypassing client-side normalization. A proof-of-concept is publicly available via the GitHub Security Advisory GHSA-82cg-3hv7-74gc; no CISA KEV listing has been confirmed at time of analysis, though real-world risk is materially elevated in CI/CD environments where --host 0.0.0.0 is commonly used.

RemediationAI

Upgrade io.qameta.allure:allure-commandline to version 2.39.0 or later, which applies .normalize() to the resolved path and enforces a .startsWith() containment check before serving any file, per the vendor advisory at https://github.com/allure-framework/allure2/security/advisories/GHSA-82cg-3hv7-74gc. If an immediate upgrade is not possible, avoid using the --host flag entirely and ensure allure serve and allure open rely on the default localhost binding, which eliminates remote network exploitation - though this does not protect against other local users on shared systems or DNS rebinding attacks. As an additional compensating control, run the Allure process under a least-privilege OS account with read access scoped to the report directory only, preventing traversal from reaching sensitive paths such as ~/.ssh, /etc/shadow, or /proc/self/environ even if the traversal succeeds. Firewall or network policy rules blocking inbound connections to the Allure server port from untrusted hosts provide a further layer of defense when upgrade is delayed, but note this does not address the localhost-accessible attack surface.

Affected VersionsENISA

allure2 < 2.39.0

Affected Packages

maven io.qameta.allure:allure-commandline fix: 2.39.0
euvd allure2 fix: 2.39.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the Maven package io.qameta.allure:allure-commandline, a Java CLI tool. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). In Commands.java line 330, the HTTP handler calls reportDirectory.resolve("." + exchange.getRequestURI().getPath()) without subsequently invoking .normalize() or performing a .startsWith(reportDirectory) containment check. Java's URI.getPath() returns the percent-decoded path, meaning %2e%2e sequences are silently expanded to .. before path resolution occurs, making purely encoded traversal payloads equally effective. The Java HttpServer class provides no built-in path sanitization. The server defaults to localhost binding but accepts an arbitrary --host argument, and the serveFile() method at line 341 reads and streams any regular file without additional validation.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/allure-framework/allure2) PRIMARY 6.2 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.2 MEDIUM

Default localhost binding warrants AV:L; no authentication on the HTTP server justifies PR:N; only file read is achievable so I:N and A:N.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/allure-framework/allure2).

CVSS VectorVendor: https://github.com/allure-framework/allure2

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

Summary

The built-in HTTP server started by allure serve and allure open is vulnerable to path traversal. The server resolves request URI paths directly against the report directory without normalizing or validating that the resolved path stays within the report directory. An attacker who can reach the server can read any file accessible to the Allure process by sending a request containing ../ sequences.

Details

When allure serve or allure open is executed, Commands.setUpServer() creates an HTTP server with a handler that serves files from the report directory:

allure-commandline/src/main/java/io/qameta/allure/Commands.java:325-339

java
protected HttpServer setUpServer(final String host, final int port, final Path reportDirectory) throws IOException {
    final HttpServer server = HttpServer
            .create(new InetSocketAddress(Objects.isNull(host) ? "localhost" : host, port), 0);

    server.createContext("/", exchange -> {
        final Path resolve = reportDirectory.resolve("." + exchange.getRequestURI().getPath());  // line 330
        if (Files.isDirectory(resolve)) {
            serveFile(exchange, resolve.resolve("index.html"));
        } else {
            serveFile(exchange, resolve);
        }
    });

    return server;
}

On line 330, the handler constructs a file path by concatenating "." with the raw request URI path and resolving it against reportDirectory. For a request to /../../../etc/passwd:

  1. exchange.getRequestURI().getPath() returns "/../../../etc/passwd"
  2. String concatenation produces "./../../../etc/passwd"
  3. reportDirectory.resolve("./../../../etc/passwd") resolves to e.g. /tmp/allure-report/./../../../etc/passwd
  4. The OS resolves this to /etc/passwd

There is no call to .normalize() followed by a .startsWith(reportDirectory) containment check. The serveFile() method (line 341) reads and returns any regular file without further validation.

Additionally, URI.getPath() returns the percent-decoded path, so %2e%2e is decoded to .., enabling traversal via /%2e%2e/%2e%2e/etc/passwd which bypasses clients that normalize .. in raw form.

The server defaults to binding on localhost (line 327), which limits remote exploitation. However, the --host option allows users to bind to any interface (e.g., --host 0.0.0.0), which is commonly used in CI/CD and containerized environments. Even when bound to localhost, the vulnerability is exploitable by:

  • Other local users on shared/multi-tenant systems
  • DNS rebinding attacks from malicious web pages visited by the user
  • Adjacent containers in CI/CD environments that share a network namespace

PoC

Step 1: Start the Allure server (simulating a typical CI/CD scenario with network binding):

bash
allure serve ./test-results --host 0.0.0.0 --port 9090

Step 2: Read /etc/passwd via path traversal:

bash
curl --path-as-is 'http://localhost:9090/../../../etc/passwd'

Step 3: Alternative using percent-encoded traversal (works even with clients that normalize ..):

bash
curl 'http://localhost:9090/%2e%2e/%2e%2e/%2e%2e/etc/passwd'

Step 4: Read sensitive application files (e.g., environment variables, SSH keys):

bash
curl --path-as-is 'http://localhost:9090/../../../home/user/.ssh/id_rsa'
curl --path-as-is 'http://localhost:9090/../../../proc/self/environ'

Each command returns the full contents of the requested file if readable by the Allure process.

Impact

An attacker who can reach the Allure HTTP server can read any file on the system that the Allure process has permissions to access. This includes:

  • System credentials: /etc/shadow (if running as root), SSH private keys, cloud provider credentials
  • Application secrets: Environment variables via /proc/self/environ, configuration files, API keys
  • Source code and data: Any file on the filesystem accessible to the running user

In CI/CD environments where Allure is commonly used, this could expose build secrets, deployment credentials, and other sensitive CI/CD artifacts. The lack of authentication means any client that can reach the server's port can exploit this vulnerability.

Recommended Fix

Normalize the resolved path and verify it remains within the report directory before serving:

java
server.createContext("/", exchange -> {
    final Path resolve = reportDirectory.resolve("." + exchange.getRequestURI().getPath()).normalize();
    if (!resolve.startsWith(reportDirectory.normalize())) {
        exchange.sendResponseHeaders(403, 0);
        exchange.getResponseBody().close();
        return;
    }
    if (Files.isDirectory(resolve)) {
        serveFile(exchange, resolve.resolve("index.html"));
    } else {
        serveFile(exchange, resolve);
    }
});

The .normalize() call collapses .. sequences, and the .startsWith() check ensures the resolved path is still within the report directory. Requests attempting traversal receive a 403 Forbidden response.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +31
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy