Skip to content

CVE-2026-71272 Memos Webhook DNS Rebinding TOCTOU SSRF in safeDialContext()

HighCVSS 8.5 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
usememos github.com/usememos/memos <= 0.29.1 No fix listed

References