Skip to content
HighVulnerability

CVE-2026-48716: nanobot WhatsApp bridge path traversal via document filename

Identifier
CVE-2026-48716
Published
Record updated
View JSON

Summary

In nanobot versions 0.1.5.post3 and prior, the WhatsApp bridge in bridge/src/whatsapp.ts builds a file path from the fileName field of an incoming document message without sanitization. Because path.join resolves .. components, an attacker can send a crafted fileName such as ../../../.ssh/authorized_keys to write attacker-controlled content outside the media/ directory.

Mitigation

A fix for this issue is planned for version 0.1.5.post4.