CVE-2026-130161
Tamari: SSRF via DNS rebinding bypasses is_safe_autofill_url() in recipe autofill
- CVSS
- 5.3
- EPSS
- 0.47% (p42)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-27
- Product
- alexbates Tamari
- Aliases
- GHSA-fj24-576j-7fh7
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Description
Tamari is a fully-featured recipe manager web application built using Python and the Flask Framework. Prior to 1.7.2, an authenticated user can bypass the recipe-autofill SSRF check by submitting a hostname under the user's control through the Autofill from URL feature; the hostname can resolve to a public address during validation and a private or internal address during the later connection. In app/myrecipes/routes.py, is_safe_autofill_url validates the first DNS response, but recipe autofill passes the original URL to requests.get, which independently resolves the hostname and can connect to the internal address. The fetched response is parsed into recipe fields, enabling internal-service reconnaissance and potential data exposure; no redirect is required, and disabling redirects does not stop this DNS-rebinding bypass. This issue is fixed in 1.7.2.
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://github.com/alexbates/Tamari/security/advisories/GHSA-fj24-576j-7fh7 x_refsource_CONFIRM
- https://github.com/alexbates/Tamari/commit/50f69e3e66c0f41aaab013838340dcdb868dd958 x_refsource_MISC
- https://github.com/alexbates/Tamari/releases/tag/v1.7.2 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130161.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-130161 advisory