{"id":"CVE-2026-102810","published":"2026-09-29T18:17:14.370","lastModified":"2026-09-30T17:32:07.107","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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cwes":["CWE-22"],"vendors":[],"products":[],"references":[{"url":"https://github.com/rochacbruno/marmite","tags":[]},{"url":"https://github.com/rochacbruno/marmite/blob/4b2ddbd7595233b2e1d0086e18490fec49705098/src/server.rs#L180-L315","tags":[]},{"url":"https://github.com/rochacbruno/marmite/commit/303a0bf2fff4302f4164c0c39932fdffc6683ad4","tags":[]},{"url":"https://github.com/rochacbruno/marmite/issues/554","tags":[]},{"url":"https://www.vulncheck.com/advisories/marmite-through-0.4.2-path-traversal-via-development-server","tags":[]}],"exploitRefs":[{"url":"https://github.com/rochacbruno/marmite","tags":[]},{"url":"https://github.com/rochacbruno/marmite/blob/4b2ddbd7595233b2e1d0086e18490fec49705098/src/server.rs#L180-L315","tags":[]},{"url":"https://github.com/rochacbruno/marmite/commit/303a0bf2fff4302f4164c0c39932fdffc6683ad4","tags":[]},{"url":"https://github.com/rochacbruno/marmite/issues/554","tags":[]}],"hasPoc":true,"ai":{"summary":"Marmite's development server is vulnerable to path traversal attacks that allow unauthenticated users to read arbitrary files on the server. This occurs because the server fails to properly validate path segments after percent-decoding, enabling attackers to access files beyond the intended directory.","exploitability":"The vulnerability is easily exploitable with no authentication required, as attackers can simply craft requests with encoded traversal sequences to access any file readable by the marmite process.","blast_radius":"In a real-world scenario, this could allow attackers to read sensitive configuration files, source code, or other system files that the marmite process has access to, potentially leading to information disclosure and further compromise.","remediation":"Disable the --serve development server functionality in production environments until a patched version is available, as no fixed version is published in the description.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["path-traversal","web","development-server"],"model":"garnet-coder","analyzedAt":"2026-10-18T10:15:10.907Z"}}