Skip to main content

Mealie EUVDEUVD-2026-53207

| CVE-2026-71210 MEDIUM
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-08-05 TuranSec GHSA-q2c2-jwjg-8cxx
5.3
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain low-privilege Mealie account
  2. Delivery
    Register attacker-controlled DNS domain with short TTL
  3. Exploit
    Submit crafted domain URL to /api/recipes/create/url
  4. Install
    Validation resolves hostname to public IP, guard passes
  5. C2
    Flip DNS record to private or metadata IP
  6. Execute
    Async transport re-resolves hostname to private IP
  7. Impact
    Mealie fetches internal response and reflects content to attacker

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

Exploitation requires: (1) an authenticated Mealie user account at any privilege level that has access to the recipe creation or image endpoints, confirmed by the CVSS PR:L metric; (2) attacker control over a DNS domain with the ability to change A records between the validation resolution and the actual HTTP connection, with a TTL short enough to allow the flip within the race window - this is the source of the AC:H rating and the primary operational barrier; (3) network egress from the Mealie application server to the target internal resource or cloud metadata endpoint (e.g., 169.254.169.254 must be reachable from the host). Exploitation is limited by: the DNS rebinding timing requirement, which demands attacker-controlled DNS infrastructure; the need for a valid authenticated session; the confidentiality-only impact (no write or availability vector); and the absence of scope change in S:U, meaning lateral movement from a successful exploit requires additional steps. Instances where outbound traffic from the Mealie host to RFC1918 and link-local ranges is blocked at the network or firewall layer are not exploitable via this path regardless of DNS control.

Impact

The provided CVSS 3.1 vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N scores 6.5 and is consistent with the described mechanics: network-reachable via API, high attack complexity due to the DNS rebinding timing requirement, low-privilege authentication required, and confidentiality-only impact. No EPSS score was provided in the source data. The vulnerability is not listed in the CISA KEV catalog, meaning active exploitation is not confirmed. No POC has been identified. The AC:H designation is the most significant risk-reducing signal: DNS rebinding attacks require the attacker to control or influence a DNS resolver, configure very short TTLs, and win a timing race between two independent resolution events - this is operationally non-trivial compared to direct SSRF. However, for Mealie instances deployed in cloud environments where IMDSv1 (AWS) or equivalent unauthenticated metadata services are reachable, a successful exploit could yield instance credentials, substantially elevating the downstream impact beyond the C:H confidentiality score. The authentication barrier (PR:L) limits exposure to users who already hold a Mealie account, which in shared or multi-tenant self-hosted deployments may include untrusted parties. Overall real-world priority is moderate: the DNS rebinding complexity and auth requirement suppress opportunistic exploitation, but targeted attacks against cloud-hosted instances remain plausible.

Exploit ScenarioDerived

An attacker with a low-privilege Mealie account registers a domain and configures its DNS to return a public IP with a very short TTL. They submit a recipe URL pointing to that domain via /api/recipes/create/url; the AsyncSafeTransport guard resolves the hostname, sees the public IP, and permits the request. Before the async transport opens the actual TCP connection, the attacker flips the DNS record to 169.254.169.254 (AWS instance metadata); the transport re-resolves and connects to the metadata service. Mealie fetches and reflects the metadata response - including IAM role credentials - back to the attacker. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

DNS rebinding defeats the SSRF guard in Mealie's AsyncSafeTransport, allowing any authenticated user to read internal HTTP services and cloud metadata endpoints via three recipe API endpoints. The guard resolves a hostname once for validation, passes the check using the public IP returned, but the underlying async transport independently re-resolves the hostname for the actual connection - an attacker controlling DNS can flip the record to a private or metadata IP between these two events. No public exploit code has been identified at time of analysis, and this vulnerability is not listed in the CISA KEV catalog.

RemediationAI

No vendor-released patch has been identified at time of analysis - the fix version is not confirmed from available data; monitor https://github.com/mealie-recipes/mealie for a tagged release addressing this issue and apply promptly. The correct code-level fix is to pin the resolved IP address to the actual socket connection after the validation step, preventing the async transport from performing an independent re-resolution - this eliminates the TOCTOU window entirely. As a network-layer compensating control, deploy egress filtering on the host running Mealie that blocks outbound HTTP/S connections to all private RFC1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.0/8) and the link-local metadata range (169.254.0.0/16); this is more reliable than application-layer guards because it operates at a layer the application cannot bypass, though it may break legitimate integrations with internal services. For AWS deployments, enforce IMDSv2 (requiring a session-oriented token) to prevent unauthenticated metadata reads even if SSRF succeeds - note this requires instance configuration and does not protect other cloud metadata patterns. Restricting access to the affected endpoints to trusted user roles within Mealie (if role-based controls are available) reduces the attack surface without breaking functionality.

Affected VersionsENISA

mealie 0

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Mealie is a self-hosted recipe management application (cpe:2.3:a:mealie-recipes:mealie) written in Python. The flaw resides in mealie/pkgs/safehttp/transport.py, which implements AsyncSafeTransport as an application-layer SSRF guard. The root cause is CWE-367 (Time-of-check Time-of-use, TOCTOU): the guard resolves the target hostname once to validate the resulting IP against private-range blocklists, but because the validated IP is never pinned to the socket-level connection, the underlying async transport performs its own independent resolution when opening the actual TCP connection. This split-resolution architecture is the structural precondition for DNS rebinding: an attacker who controls a DNS domain can return a publicly-routable IP during the validation lookup (passing the guard) and then flip the DNS record - exploiting low TTLs - so the real connection resolves to a private RFC1918 address or a cloud metadata endpoint such as 169.254.169.254. The scraper reflects the full HTTP response body back to the requester, completing the data exfiltration path. Reachable endpoints include /api/recipes/create/url, /api/recipes/test-scrape-url, and /api/recipes/{slug}/image.

Know when Mealie gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (TuranSec) PRIMARY 5.3 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.3 MEDIUM

DNS rebinding requires attacker DNS control and timing (AC:H); any authenticated user can trigger via API (PR:L); only confidentiality is impacted through response reflection (C:H, I:N, A:N).

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
CVSS changed
Aug 05, 2026 - 08:22 NVD
6.5 (MEDIUM) 5.3 (MEDIUM)

DescriptionCVE.org

Mealie's AsyncSafeTransport SSRF guard (mealie/pkgs/safehttp/transport.py) resolves a target hostname once, checks the resolved IP against private-range rules, but then issues the actual outbound HTTP request using the original hostname, which the underlying async transport re-resolves independently. Because the validated IP is never pinned to the actual connection, a DNS-rebinding attacker (returning a public IP to the validation lookup and a private/metadata IP to the real connection) defeats the guard. This is reachable by any authenticated user via /api/recipes/create/url, /api/recipes/test-scrape-url, and /api/recipes/{slug}/image, and the scraper reflects fetched content back to the requester, allowing an authenticated user to read internal HTTP services and cloud-metadata endpoints.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
self-hosted niche recipe management application, limited enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in Mealie

View all
CVE-2022-34613 CRITICAL POC
9.8 Aug 02

Mealie 1.0.0beta3 contains an arbitrary file upload vulnerability which allows attackers to execute arbitrary code via a

CVE-2025-56795 CRITICAL POC
9.0 Sep 29

Mealie 3.0.1 and earlier is vulnerable to Stored Cross-Site Scripting (XSS) in the recipe creation functionality. Rated

CVE-2024-55073 HIGH POC
7.6 Mar 27

A Broken Object Level Authorization vulnerability in the component /api/users/{user-id} of hay-kot mealie v2.2.0 allows

CVE-2022-34625 HIGH POC
7.2 Aug 02

Mealie1.0.0beta3 was discovered to contain a Server-Side Template Injection vulnerability, which allows attackers to exe

CVE-2024-31994 MEDIUM POC
6.5 Apr 19

Mealie is a self hosted recipe manager and meal planner. Rated medium severity (CVSS 6.5), this vulnerability is low att

CVE-2025-70297 MEDIUM POC
6.1 Feb 11

A stored cross-site scripting (XSS) vulnerability in the recipe asset upload and media serving component in Mealie 3.3.1

CVE-2022-34615 CRITICAL
9.8 Aug 19

Mealie 1.0.0beta3 employs weak password requirements which allows attackers to potentially gain unauthorized access to t

CVE-2026-136134 MEDIUM POC
5.5 Nov 24

Path traversal in Mealie's I18n Locale Provider (mealie/pkgs/i18n/provider_factory.py) allows remote attackers to steer

CVE-2024-55072 MEDIUM POC
5.4 Mar 27

A Broken Object Level Authorization vulnerability in the component /api/users/{user-id} of hay-kot mealie v2.2.0 allows

CVE-2025-70296 MEDIUM POC
5.4 Feb 11

A stored HTML injection vulnerability in the Recipe Notes rendering component in Mealie 3.3.1 allows remote authenticate

CVE-2022-34619 MEDIUM POC
5.4 Aug 02

A stored cross-site scripting (XSS) vulnerability in Mealie v0.5.5 allows attackers to execute arbitrary web scripts or

CVE-2022-34618 MEDIUM POC
5.4 Aug 02

A stored cross-site scripting (XSS) vulnerability in Mealie 1.0.0beta3 allows attackers to execute arbitrary web scripts

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy