Soumettre #802836: AgiFlow @agiflowai/scaffold-mcp 1.0.27 Path Traversalinformation

TitreAgiFlow @agiflowai/scaffold-mcp 1.0.27 Path Traversal
DescriptionAn arbitrary file write vulnerability (CWE-22) has been identified in the write-to-file tool of @agiflowai/scaffold-mcp (version 1.0.27). The tool accepts a user-supplied file_path argument and writes attacker-controlled content to that path after resolving absolute paths as-is or relative paths against the current working directory, without enforcing any workspace or base-directory boundary. An attacker with access to the MCP interface can write or overwrite arbitrary files writable by the server process, potentially leading to integrity loss, configuration corruption, or further compromise. No fixed version is available at the time of reporting.
La source⚠️ https://github.com/AgiFlow/aicode-toolkit/issues/88
Utilisateur
 BruceJin (UID 96538)
Soumission11/04/2026 11:49 (il y a 2 mois)
Modérer27/04/2026 19:17 (16 days later)
StatutAccepté
Entrée VulDB359845 [AgiFlow scaffold-mcp jusqu’à 1.0.27 write-to-file Tool index.ts file_path directory traversal]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!