CVE-2026-71272: Memos - Server Side Request Forgery
- Cve: CVE-2026-71272
- Name: Memos - Server Side Request Forgery
- 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.
- Impact: Attackers can bypass SSRF protections to access internal network resources, potentially leading to unauthorized access or data exposure.
- Remediation: Update to the latest version with fixed DNS resolution handling in safeDialContext.
- Vulnerability type: server_side_request_forgery
- Vulnerability impact: server_side_request_forgery
- Requirements: Attacker must control DNS for the webhook hostname
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
- Epss score: 0.00257
- Epss percentile: 0.17447
- Assignee: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- Published at: 2026-08-05T13:24:51Z
- Age in days: 111
- Modified at: 2026-10-24T15:10:00Z
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-71272
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/usememos/memos | nvd | |
| https://github.com/usememos/memos/blob/main/internal/webhook/webhook.go | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| usememos:memos | <= 0.29.1 | no | cna_alias | /v1/products/usememos/memos |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 2240
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports