Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| datalab-to | marker | ≤ 2.0.0 | — |
References
- GitHub Issue #1047 issue-tracking
- https://github.com/datalab-to/marker product
- https://github.com/datalab-to/marker/blob/v2.0.0/marker/scripts/server.py technical-description
- VulnCheck Advisory: marker through 2.0.0 Path Traversal via upload filename third-party-advisory