Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🦀 crates.io

GHSA-46q5-g3j9-wx5c

HIGH

ZeptoClaw: Generic webhook channel trusts caller-supplied identity fields; allowlist is checked against untrusted payload data

Also known asCVE-2026-32231
Published
Mar 12, 2026
Updated
Mar 13, 2026
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed

EPSS Exploitation Probability

via FIRST.org ↗
0.2%probability of exploitation in next 30 days
Lower Risk8th percentile+0.14%
0.00%0.23%0.46%0.68%0.0%0.1%0.0%0.2%Apr 26Jun 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

1 pkg affected
🦀zeptoclaw

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.

Description

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:121 sets runtime default auth_token: None.
  • src/config/types.rs:910 also defaults webhook config auth_token to None.
  • src/channels/webhook.rs:224 (validate_auth) explicitly allows requests when no token is configured.
  • src/channels/webhook.rs:128 defines WebhookPayload with identity fields fully controlled by caller input:
    • sender: String
    • chat_id: String
  • src/channels/webhook.rs:421 performs allowlist authorization using payload.sender.
  • src/channels/webhook.rs:433 and src/channels/webhook.rs:434 create InboundMessage using untrusted payload.sender and payload.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_id is 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

  1. Configure the webhook channel in a vulnerable posture (common default behavior):
    • enabled = true
    • bind_address = "0.0.0.0" (or any reachable interface)
    • port = 9876
    • path = "/webhook"
    • auth_token = null (or omitted)
    • allow_from = ["trusted-user-1"]
    • deny_by_default = true
  2. Start ZeptoClaw.
  3. Send a forged request with attacker-chosen sender and chat_id, without any Authorization header:
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"
  }'
  1. 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).

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🦀crates.iozeptoclawall versions0.7.6

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for zeptoclaw. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update zeptoclaw to 0.7.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-46q5-g3j9-wx5c is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-46q5-g3j9-wx5c is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-46q5-g3j9-wx5c. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### 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:121` sets runtime default `auth_token: None`. - `src/config/types.rs:91
O3 Security · Impact-Aware SCA

Is GHSA-46q5-g3j9-wx5c in your dependencies?

O3 detects GHSA-46q5-g3j9-wx5c across crates.io dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.

GHSA-46q5-g3j9-wx5c: zeptoclaw (High 8.2) | O3 Security