VDB
Sign up
MEDIUM5.8

GHSA-c4qg-j8jg-42q5

OpenClaw: QQBot direct media upload skipped URL SSRF validation

Quick fix

GHSA-c4qg-j8jg-42q5 — openclaw: upgrade to the fixed version with the command below.

npm install openclaw@2026.4.20

Details

## Affected Packages / Versions

- Package: `openclaw` (npm) - Affected versions: `< 2026.4.20` - Patched version: `2026.4.20`

## Impact

The QQBot direct-upload media path could forward attacker-controlled image URLs without applying the SSRF validation used by the local download path. This could make configured QQBot media delivery request or relay URLs the operator did not intend to allow.

The affected path is limited to QQBot outbound media handling and does not expose arbitrary local files. Severity is low.

## Fix

OpenClaw now validates QQBot direct-upload media URLs before `uploadC2CMedia` and `uploadGroupMedia` direct-upload calls.

Fix commit:

- `49db424c8001f2f419aad85f434894d8d85c1a09`

## Release

Fixed in OpenClaw `2026.4.20`.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/openclaw
Introduced in: 0Fixed in: 2026.4.20
Fixnpm install openclaw@2026.4.20

References