CVE-2026-71272: CWE-367 in usememos memos
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.
AI Analysis
Technical Summary
The vulnerability in usememos memos involves the webhook dispatch function safeDialContext located in internal/webhook/webhook.go. The function resolves the target hostname using net.DefaultResolver.LookupHost and validates the resulting IP addresses against reserved IP ranges to prevent unauthorized access. However, when establishing the network connection, it uses net.JoinHostPort with the original hostname rather than the already validated IP addresses. This behavior corresponds to CWE-367 (Time-of-check Time-of-use (TOCTOU) race condition), potentially allowing an attacker to bypass IP validation by exploiting the difference between the hostname resolution and the actual connection target.
Potential Impact
An attacker with at least low privileges can exploit this vulnerability to bypass IP address validation, potentially connecting to unauthorized or reserved network ranges. The CVSS score of 8.5 indicates a high impact with high confidentiality impact, limited integrity impact, and no availability impact. This could lead to unauthorized information disclosure or other confidentiality breaches within the affected environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround has been published at this time. Users should monitor vendor communications for updates and consider restricting webhook usage or network access as a precaution until a fix is available.
CVE-2026-71272: CWE-367 in usememos memos
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.
CVSS v3.1
Score 8.5high
Affected software
usememos
memos
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in usememos memos involves the webhook dispatch function safeDialContext located in internal/webhook/webhook.go. The function resolves the target hostname using net.DefaultResolver.LookupHost and validates the resulting IP addresses against reserved IP ranges to prevent unauthorized access. However, when establishing the network connection, it uses net.JoinHostPort with the original hostname rather than the already validated IP addresses. This behavior corresponds to CWE-367 (Time-of-check Time-of-use (TOCTOU) race condition), potentially allowing an attacker to bypass IP validation by exploiting the difference between the hostname resolution and the actual connection target.
Potential Impact
An attacker with at least low privileges can exploit this vulnerability to bypass IP address validation, potentially connecting to unauthorized or reserved network ranges. The CVSS score of 8.5 indicates a high impact with high confidentiality impact, limited integrity impact, and no availability impact. This could lead to unauthorized information disclosure or other confidentiality breaches within the affected environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround has been published at this time. Users should monitor vendor communications for updates and consider restricting webhook usage or network access as a precaution until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-05T12:23:34.967Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7336e5bf8831d539ed924e
Added to database: 08/05/2026, 13:13:09 UTC
Last enriched: 08/12/2026, 14:33:02 UTC
Last updated: 09/17/2026, 22:01:38 UTC
Views: 30
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.