Skip to content
OpenAdvisories
High · 8.5 CVE-2026-71272 EUVD-2026-53357GHSA-w8cc-xr9f-mrh7

Memos Webhook DNS Rebinding TOCTOU SSRF in safeDialContext()

Published Aug 5, 2026 · Updated Aug 10, 2026 · Assigned by TuranSec

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

VendorProductAffectedFixed
usememos memos ≤ 0.29.1 —

References