{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-48716","published":"2026-06-18T20:16:13.850000Z","last_modified":"2026-10-25T23:10:00.167000Z","status":"Deferred","cvss":{"version":"3.1","score":8.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["hkuds"],"products":["hkuds/nanobot"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":67,"links":{"html_es":"/es/cve/CVE-2026-48716/","html_en":"/en/cve/CVE-2026-48716/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-48716","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-48716"},"untrusted":{"vendor_name":"HKUDS","product_name":"nanobot","desc_en":"nanobot is a personal AI assistant. In versions 0.1.5.post3 and prior, the WhatsApp bridge in bridge/src/whatsapp.ts constructs a filesystem path using the fileName field from an incoming WhatsApp document message without sanitization. The WhatsApp bridge downloads media attachments and writes them to disk using a filename derived from the sender's message via documentMessage.fileName, which is concatenated with a prefix and its raw value is passed directly to path.join(mediaDir, outFilename). Node.js path.join resolves .. components, allowing an attacker to escape the intended media/ directory by sending a document with a crafted fileName such as ../../../.ssh/authorized_keys. Because the attacker also controls the file content (the downloaded buffer), this is a write-anywhere primitive — both path and content are attacker-controlled. A fix for this issue is planned for version 0.1.5.post4.","affected":[{"untrusted_vendor":"HKUDS","untrusted_product":"nanobot","versions":[]}],"references":[{"url":"https://github.com/HKUDS/nanobot/security/advisories/GHSA-3f63-vcp3-hvqr","tags":[]}]}}