๐Ÿ” CVE Alert

CVE-2026-71272

HIGH 8.5

Memos Webhook DNS Rebinding TOCTOU SSRF in safeDialContext()

CVSS Score
8.5
EPSS Score
0.0%
EPSS Percentile
0th

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. Because net.Dialer.DialContext() performs its own independent DNS resolution, an attacker controlling DNS for the webhook's hostname (e.g. via a short TTL) can return a public, allowed IP during validation and a different, internal IP at dial time โ€” a classic time-of-check/time-of-use DNS-rebinding bypass of the SSRF protection.

CWE CWE-367
Vendor usememos
Product memos
Published Aug 5, 2026
Last Updated Aug 5, 2026
Stay Ahead of the Next One

Get instant alerts for usememos memos

Be the first to know when new high vulnerabilities affecting usememos memos are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

usememos / memos
0 โ‰ค 0.29.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/usememos/memos github.com: https://github.com/usememos/memos/blob/main/internal/webhook/webhook.go

Credits

Alibek Baxtiyorov