| tiêu đề | lharries whatsapp-mcp v0.0.1 Path Traversal |
|---|
| Mô tả | A CWE-22 (Path Traversal) vulnerability exists in the sendWhatsAppMessage function at main.go:237. The mediaPath parameter, received from user input via the /api/send HTTP endpoint, is passed directly to os.ReadFile() without any validation, sanitization, or path restriction checks. The application does not verify that the provided path is within an allowed directory or sanitize path traversal sequences (../).
More Details: https://github.com/lharries/whatsapp-mcp/issues/241
|
|---|
| Nguồn | ⚠️ https://github.com/lharries/whatsapp-mcp/issues/241 |
|---|
| Người dùng | ybdesire (UID 83239) |
|---|
| Đệ trình | 10/05/2026 14:51 (cách đây 28 ngày) |
|---|
| Kiểm duyệt | 31/05/2026 14:51 (21 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 367544 [lharries whatsapp-mcp 0.0.1 Send API Endpoint whatsapp-bridge/main.go SendMessageRequest mediaPath duyệt thư mục] |
|---|
| điểm | 20 |
|---|