/

CVE-2026-85667

Severity:

CRITICAL RISK

(9.1)

Missing Authentication (CWE-306) in xiaobei Webhooks

CVE-2026-85667

Deferred

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-306

Impact:

Arbitrary Message Injection and Server-Side Request Forgery

Severity:

CRITICAL RISK

(9.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

xiaobei webhook endpoints do not appear to require authentication or validate message signatures, allowing unauthenticated attackers to inject arbitrary messages into the agent pipeline. When media URLs are fetched without adequate validation, injected messages may also enable server-side request forgery against internal services.

Affected context

The issue affects xiaobei deployments that expose the /webhook_worktool handler and accept webhook requests without enforcing an authenticated or cryptographically validated sender. Risk is increased when the agent pipeline processes attacker-controlled messages and retrieves media from URLs supplied in those messages, particularly from environments with access to internal network services.

Exploit preconditions

  • Attack surface: The externally or internally reachable /webhook_worktool webhook endpoint
  • Required access: No authenticated account may be required if the endpoint is exposed
  • Trigger point: Processing of an attacker-supplied webhook message and any associated media URL
  • Why exploitation is possible: Missing authentication and signature validation allow arbitrary message acceptance, while insufficient URL trust controls may permit server-side requests to attacker-selected destinations

Why this happens

The underlying defect is an authentication enforcement failure mapped to CWE-306: Missing Authentication for Critical Function. The webhook handler accepts requests without reliably establishing the caller's identity or verifying message integrity, treating externally supplied content as trusted pipeline input. If media locations are then fetched without validating destination, scheme, or network scope, the same trust boundary can also create a server-side request forgery condition.

Potential impact

  • An attacker may inject malicious or misleading messages into the agent pipeline
  • Automated agents could perform unintended actions based on forged input
  • The application could make requests to internal services or metadata endpoints
  • Internal service information may be exposed through response handling or side effects
  • Downstream systems or data could be affected if injected messages receive elevated processing privileges

General mitigation guidance

Mitigation generally focuses on establishing a strong webhook trust boundary and reducing the authority of externally supplied content.

Common defensive patterns include:

  • Require authentication and robust, replay-resistant signature validation for every webhook request
  • Bind signatures to the complete request body and relevant delivery metadata
  • Reject unsigned, stale, duplicated, malformed, or unexpectedly structured messages
  • Treat media URLs as untrusted input and use allowlists for permitted schemes, hosts, and network destinations
  • Block access to loopback, link-local, private, and cloud metadata address ranges where business requirements allow
  • Route outbound fetches through restricted egress controls with short timeouts and response-size limits
  • Process webhook content with least-privilege service identities and isolate agent capabilities
  • Prefer explicit, narrowly scoped message schemas over generic command-like input

How teams detect issues like this

High-level detection can combine:

  • Static analysis and code review checks for webhook handlers that lack authentication or signature verification
  • Searches for request-processing paths that invoke agent actions before identity and integrity checks
  • Review of URL-fetching logic for user-controlled destinations, redirect following, DNS rebinding exposure, and private-network access
  • API gateway or policy rules requiring authenticated webhook traffic and approved content types
  • Runtime monitoring for repeated unsigned requests, unusual webhook sources, unexpected message formats, and outbound connections to internal address ranges
  • Automated security testing that verifies unauthorized webhook requests are rejected and restricted destinations cannot be reached

Sources

SourceLink
github.comgithub.com/TeamWiseFlow/xiaobei
github.comgithub.com/TeamWiseFlow/xiaobei/blob/v5.5.2/awada/awada-server/src/routes/webhook-worktool.ts
github.comgithub.com/TeamWiseFlow/xiaobei/issues/440
vulncheck.comvulncheck.com/advisories/xiaobei-through-5.5.2-unauthenticated-webhook-message-injection

Frequently asked

questions

Yes, when the affected webhook handler is reachable by an attacker and does not require authentication or valid signatures. Exploitation scope depends on network exposure and deployment controls.

The attacker generally needs network connectivity to the webhook endpoint, but not a valid account if authentication is absent. The ability to cause the agent to fetch attacker-selected media URLs is also relevant to SSRF impact.

Require authenticated, cryptographically validated webhook requests before accepting or processing any message, then apply strict allowlisting and network restrictions to media URL fetching.

Define webhook trust boundaries explicitly, enforce authentication and replay protection at the gateway and application layers, validate message schemas, restrict outbound network access, and run agent processing with least privilege.

Find out what's already
exploitable in your codebase.