CVE-2026-71272 Details
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.
A vulnerability in Memos' webhook dispatch function allows for a DNS-rebinding attack that bypasses server-side request forgery (SSRF) protections. The issue arises because the function resolves the target hostname using the default DNS resolver and validates the resulting IP addresses against reserved ranges. However, it then dials the webhook endpoint using the original hostname instead of the validated IP address. This flaw enables an attacker to manipulate DNS responses, potentially directing requests to internal services.
Users should update to the latest version of Memos, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 5, 2026CISA-ADP
Assessed Aug 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/usememos/memos | TuranSec | Vendor |
| https://github.com/usememos/memos/blob/main/internal/webhook/webhook.go | TuranSec | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition | TuranSec |
Affected Products
| Product | Versions |
|---|---|
| Memos | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 10, 2026 | CVE Modified | TuranSec |
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | New CVE Received | TuranSec |
Volerion