Soumettre #803488: florensiawidjaja BioinfoMCP 7ada7918b9e515604d3c0ae264d3a9af10bf6e54 Path Traversalinformation

Titreflorensiawidjaja BioinfoMCP 7ada7918b9e515604d3c0ae264d3a9af10bf6e54 Path Traversal
DescriptionThe web-facing BioinfoMCP platform exposes POST /upload for converting uploaded manuals into generated MCP server artifacts. The route reads the uploaded file object from request.files, takes its client-supplied filename verbatim, and writes it using f.save(os.path.join("uploads", f.filename)). Because the multipart filename field is attacker-controlled, an absolute path such as /tmp/bioinfomcp_poc.pdf overrides the intended uploads/ directory entirely, and traversal sequences can also escape it. The route then passes that attacker-chosen saved path into scripts/do_sth.py, so the unsafe path is not only written but also treated as the input artifact for the rest of the conversion workflow.
La source⚠️ https://github.com/florensiawidjaja/BioinfoMCP/issues/2
Utilisateur
 LittleW (UID 97283)
Soumission13/04/2026 11:15 (il y a 6 mois)
Modérer29/04/2026 13:18 (16 days later)
StatutAccepté
Entrée VulDB360122 [florensiawidjaja BioinfoMCP Upload Endpoint app.py upload Nom directory traversal]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!