CVE-2026-71272

Memos Webhook DNS Rebinding TOCTOU SSRF in safeDialContext()

State
Published
Severity
8.5 High
Published
Aug 5, 2026
Updated
Aug 10, 2026
Reserved
Aug 5, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.5 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:NTuranSec

Weaknesses

Affected Products

ProductVersions
memosusememos
  • 0.29.1 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.