---
id: CVE-2026-102810
title: >-
  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
summary: >-
  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 .. seg…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-22
vendor: rochacbruno
product: marmite
affected:
  - marmite <= 0.4.2
published: '2026-09-29'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T18:17:14.370'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-102810'
references:
  - url: 'https://github.com/rochacbruno/marmite'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/rochacbruno/marmite/blob/4b2ddbd7595233b2e1d0086e18490fec49705098/src/server.rs#L180-L315
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/rochacbruno/marmite/commit/303a0bf2fff4302f4164c0c39932fdffc6683ad4
    label: disclosure@vulncheck.com
  - url: 'https://github.com/rochacbruno/marmite/issues/554'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/marmite-through-0.4.2-path-traversal-via-development-server
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-29T17:41:02.257Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
