Skip to content
CVE PROGRAM SOURCE RECORD8.5 High

CVE-2026-71272

Memos Webhook DNS Rebinding TOCTOU SSRF in safeDialContext()

Description

Memos' webhook dispatch function safeDialContext (internal/webhook/webhook.go) resolves the target hostname via net.DefaultResolver.LookupHost and validates the resulting IPs against reserved ranges, but then dials net.JoinHostPort(host, port) using the original hostname rather than the already-validated IP address.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

usememos memos

Default version status: unaffected

  • 0 to ≤ 0.29.1affected

References