Description
Marmite through 0.4.2 contains a path traversal vulnerability in the development server started by --serve that allows unauthenticated attackers to read arbitrary files. The handle_request function in src/server.rs fails to reject .. segments after percent-decoding and joining the request path to the output folder, enabling attackers to request encoded traversal sequences to access files readable by the marmite process.
Published: 2026-09-29
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Read
Action: Limit Exposure
AI Analysis

Impact

The vulnerability is a classic path traversal flaw (CWE‑22) located in the "serve" mode of Marmite. When the development server is started with the --serve option, the request handler joins a percent‑decoded request path to the current workspace without rejecting segments that resolve to parent directories. This allows an unauthenticated HTTP client to request encoded ".." sequences, causing the server to map them to arbitrary file system locations that the Marmite process can read. The effect is the disclosure of any file readable by the process, which can include configuration files or credential stores.

Affected Systems

All releases of Marmite up through version 0.4.2 when the development server feature is enabled. The flaw manifests on any operating system where the server binary runs, because the path resolution logic is host‑agnostic. Users who deploy Marmite in a development environment must confirm whether their deployments use version 0.4.2 or earlier and whether the local network makes the development server reachable.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity risk. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog, but the ease of exploitation remains significant. An attacker can exploit the flaw simply by making an HTTP request to the running instance; no authentication or special privileges are required. Because the request path is permissively accepted after decoding, the attack is straightforward and does not require pre‑existing network access beyond the ability to reach the development server. The lack of a dedicated patch in the public information means that denial of exposure is the primary defense at present.

Generated by OpenCVE AI on September 30, 2026 at 00:35 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Disable the development server by removing the --serve flag or start Marmite without this option in production.
  • If the development server must be used, restrict its network interface to localhost or enforce a firewall rule that blocks external traffic to the server port.
  • Limit the file system permissions of the user running Marmite so that only files required for operation are readable, reducing the impact of a successful traversal.

Generated by OpenCVE AI on September 30, 2026 at 00:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 30 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Rochacbruno
Rochacbruno marmite
Vendors & Products Rochacbruno
Rochacbruno marmite

Tue, 29 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 29 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Description Marmite through 0.4.2 contains a path traversal vulnerability in the development server started by --serve that allows unauthenticated attackers to read arbitrary files. The handle_request function in src/server.rs fails to reject .. segments after percent-decoding and joining the request path to the output folder, enabling attackers to request encoded traversal sequences to access files readable by the marmite process.
Title Marmite through 0.4.2 Path Traversal via Development Server
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Rochacbruno Marmite
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-29T19:57:40.113Z

Reserved: 2026-09-29T17:11:36.468Z

Link: CVE-2026-102810

cve-icon Vulnrichment

Updated: 2026-09-29T19:57:33.947Z

cve-icon NVD

Status : Deferred

Published: 2026-09-29T18:17:14.370

Modified: 2026-09-30T17:32:07.107

Link: CVE-2026-102810

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T20:40:28Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')