The vulnerability is a path traversal issue in the QQBot integration of OpenClaw, allowing an attacker to read arbitrary local files. The root cause is the lack of proper validation on file paths provided in media tags for outbound messages. The patch addresses this by introducing a new function, resolveOutboundMediaPath, which rigorously checks if a given file path is within the allowed media storage directories. This new function replaces the previous, insecure resolveQQBotLocalMediaPath function. The vulnerable functions, sendPhoto, sendVoice, sendVideoMsg, sendDocument, and sendMedia, all processed user-supplied paths for media content. An attacker could craft a reply with a malicious media tag pointing to a sensitive file on the host system (e.g., [qq:media]file:///etc/passwd[/qq:media]). When OpenClaw processed this reply to send a message via QQBot, the vulnerable functions would read the specified local file and send it as media. The fix ensures that any local file path is resolved to its real path and checked to be within the QQBot media or data directories, thus preventing the traversal.