Skip to main content
EPSS 0.2%top 94%

CVE-2026-71272: CWE-367 in usememos memos

0
High
Published: 08/05/2026 (08/05/2026, 12:26:19 UTC)
Source: CVE Database V5
Vendor/Project: usememos
Product: 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

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

Affected software

usememos

memos

Affected versions
>=0 <=0.29.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 14:33:02 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses