CVE-2026-71272 Memos Webhook DNS Rebinding TOCTOU SSRF in safeDialContext()
Attackers can bypass IP validation in Memos webhooks via DNS rebinding to access internal network resources.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-71272?
CVE-2026-71272 is a high-severity server-side request forgery vulnerability in usememos memos, published on 5 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-367
Which versions are affected by CVE-2026-71272?
How do I fix CVE-2026-71272?
No fix has been published for CVE-2026-71272 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-71272 being exploited?
There is no known exploitation of CVE-2026-71272 in the wild and no public exploit code.
Sources
Also known as GHSA-w8cc-xr9f-mrh7.