Invia #802080: duartium papers-mcp-server 0.1.0 Path Traversalinformazioni

Titoloduartium papers-mcp-server 0.1.0 Path Traversal
DescrizioneThe search_papers() MCP tool uses the caller-controlled topic string to derive a directory name under papers/, but it only lowercases the string and replaces spaces with underscores. Traversal sequences and path separators survive unchanged. The server then creates the directory and writes papers_info.json inside it. A topic such as ../../../../tmp/papers_poc therefore escapes the intended papers/ workspace and creates or overwrites /tmp/papers_poc/papers_info.json.
Fonte⚠️ https://github.com/duartium/papers-mcp-server/issues/1
Utente SmallW (UID 97245)
Sottomissione10/04/2026 14:41 (5 mesi fa)
Moderazione27/04/2026 16:02 (17 days later)
StatoAccettato
Voce VulDB359805 [duartium papers-mcp-server 9ceb3812a6458ba7922ca24a7406f8807bc55598 src/main.py search_papers topic directory traversal]
Punti20

Might our Artificial Intelligence support you?

Check our Alexa App!