marker through 2.0.0 contains a path traversal vulnerability in the FastAPI /marker/upload handler that fails to sanitize the file.filename parameter. Unauthenticated attackers can supply filenames containing directory traversal sequences to write arbitrary files to any location or delete existing files on the system.
https://www.vulncheck.com/advisories/marker-through-2.0.0-path-traversal-via-upload-filename
https://github.com/datalab-to/marker/issues/1047
https://github.com/datalab-to/marker/blob/v2.0.0/marker/scripts/server.py
Published: 2026-09-04
Updated: 2026-09-08
Base Score: 9.4
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:C
Severity: High
Base Score: 9.1
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Severity: Critical
Base Score: 8.8
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00657