8.2high
ZeptoClaw: Generic webhook channel trusts caller-supplied identity fields; allowlist is checked against untrusted payload data
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-46q5-g3j9-wx5c
Description
ZeptoClaw is a personal AI assistant. Prior to 0.7.6, the generic webhook channel trusts caller-supplied identity fields (sender, chat_id) from the request body and applies authorization checks to those untrusted values. Because authentication is optional and defaults to disabled (auth_token: None), an attacker who can reach POST /webhook can spoof an allowlisted sender and choose arbitrary chat_id values, enabling high-risk message spoofing and potential IDOR-style session/chat routing abuse. This vulnerability is fixed in 0.7.6.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| qhkm zeptoclaw | < 0.7.6 | CVE List |
| zeptoclaw (crates.io) | before 0.7.6 | GitHub Advisory Database |
| zeptoclaw zeptoclaw | up to 0.7.5 | NVD |
All scores
| GitHub_M | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
| GitHub | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
Classification
What each source says
CVE List
ZeptoClaw is a personal AI assistant. Prior to 0.7.6, the generic webhook channel trusts caller-supplied identity fields (sender, chat_id) from the request body and applies authorization checks to those untrusted values. Because authentication is optional and defaults to disabled (auth_token: None), an attacker who can reach POST /webhook can spoof an allowlisted sender and choose arbitrary chat_id values, enabling high-risk message spoofing and potential IDOR-style session/chat routing abuse. This vulnerability is fixed in 0.7.6.
GitHub Advisory Database
Summary
The generic webhook channel trusts caller-supplied identity fields (sender, chat_id) from the request body and applies authorization checks to those untrusted values. Because authentication is optional and defaults to disabled (auth_token: None), an attacker who can reach POST /webhook can spoof an allowlisted sender and choose arbitrary chat_id values, enabling high-risk message spoofing and potential IDOR-style session/chat routing abuse.
Details
Relevant code paths:
src/channels/webhook.rs:121sets runtime defaultauth_token: None.src/config/types.rs:910also defaults webhook configauth_tokentoNone.src/channels/webhook.rs:224(validate_auth) explicitly allows requests when no token is configured.src/channels/webhook.rs:128definesWebhookPayloadwith identity fields fully controlled by caller input:sender: Stringchat_id: String
src/channels/webhook.rs:421performs allowlist authorization usingpayload.sender.src/channels/webhook.rs:433andsrc/channels/webhook.rs:434createInboundMessageusing untrustedpayload.senderandpayload.chat_id.
Why this is vulnerable:
- The system treats user-provided JSON identity as authoritative identity.
- Allowlist enforcement does not verify sender authenticity beyond that payload value.
chat_idis also attacker-controlled, so routing/session association can be steered to arbitrary chats/conversations.- If the webhook is exposed without strong upstream authn/authz controls, spoofing is straightforward.
PoC
- Configure the webhook channel in a vulnerable posture (common default behavior):
enabled = truebind_address = "0.0.0.0"(or any reachable interface)port = 9876path = "/webhook"auth_token = null(or omitted)allow_from = ["trusted-user-1"]deny_by_default = true
- Start ZeptoClaw.
- Send a forged request with attacker-chosen
senderandchat_id, without anyAuthorizationheader:
curl -i -X POST "http://127.0.0.1:9876/webhook" \
-H "Content-Type: application/json" \
--data '{
"message":"FORGED: run privileged workflow",
"sender":"trusted-user-1",
"chat_id":"victim-chat-42"
}'
- Observe:
- Response is
HTTP/1.1 200 OK. - Message is accepted as if it originated from
trusted-user-1. - Message is routed under attacker-chosen
chat_id(victim-chat-42).
- Response is
Impact
- Vulnerability type:
- Authentication/authorization bypass (identity spoofing)
- IDOR-style routing/control issue via attacker-chosen
chat_id
- Affected deployments:
- Any deployment exposing the generic webhook endpoint without strict upstream authentication and identity binding.
- Security consequences:
- Forged inbound messages from spoofed trusted users.
- Bypass of allowlist intent by injecting allowlisted sender IDs in payload.
- Cross-chat/session contamination or hijacking by choosing arbitrary
chat_id. - Potential unauthorized downstream agent/tool actions triggered by malicious input.
NVD (es)
ZeptoClaw es un asistente de IA personal. Antes de la 0.7.6, el canal genérico de webhook confía en los campos de identidad proporcionados por el llamante (remitente, chat_id) del cuerpo de la solicitud y aplica comprobaciones de autorización a esos valores no confiables. Dado que la autenticación es opcional y por defecto está deshabilitada (auth_token: None), un atacante que puede acceder a POST /webhook puede suplantar a un remitente en la lista de permitidos y elegir valores arbitrarios de chat_id, lo que permite la suplantación de mensajes de alto riesgo y un posible abuso de enrutamiento de sesión/chat al estilo IDOR. Esta vulnerabilidad está corregida en la 0.7.6.
References
| https://github.com/qhkm/zeptoclaw/security/advisories/GHSA-46q5-g3j9-wx5c | exploit, vendor-advisory, web | |
| https://github.com/qhkm/zeptoclaw/pull/324 | issue-tracking, patch, web | |
| https://github.com/qhkm/zeptoclaw/commit/bf004a20d3687a0c1a9e052ec79536e30d6de134 | patch, web | |
| https://github.com/qhkm/zeptoclaw/releases/tag/v0.7.6 | patch, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-32231 | advisory | |
| https://github.com/qhkm/zeptoclaw | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-32231 changed 2026-03-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-46q5-g3j9-wx5c changed 2026-03-13 | CC-BY-4.0 |
| NVD | CVE-2026-32231 changed 2026-06-17 | Public domain |