CVE-2026-71210
JSON

5.3medium

mealie - DNS-Rebinding TOCTOU in SSRF Guard Allows Internal Network and Cloud Metadata Access

Severity
5.3medium CVSS:3.1 by TuranSec
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
TuranSec

Description

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.

Affected

Product or packageVersionsReported by
mealie-recipes mealie0CVE List

Classification

CWE-367

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El guardián SSRF de AsyncSafeTransport de Mealie (mealie/pkgs/safehttp/transport.py) resuelve un nombre de host objetivo una vez, verifica la IP resuelta contra reglas de rango privado, pero luego emite la solicitud HTTP saliente real usando el nombre de host original, que el transporte asíncrono subyacente vuelve a resolver de forma independiente. Debido a que la IP validada nunca se vincula a la conexión real, un atacante de reencuadernación DNS (devolviendo una IP pública a la búsqueda de validación y una IP privada/de metadatos a la conexión real) burla al guardián. Esto es accesible por cualquier usuario autenticado a través de /api/recipes/create/url, /api/recipes/test-scrape-url, y /api/recipes/{slug}/image, y el raspador refleja el contenido obtenido de vuelta al solicitante, permitiendo a un usuario autenticado leer servicios HTTP internos y puntos finales de metadatos en la nube.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-71210 changed 2026-08-10CVE Terms of Use
NVDCVE-2026-71210 changed 2026-10-24Public domain