{"id":"CVE-2026-130161","summary":"Tamari: SSRF via DNS rebinding bypasses is_safe_autofill_url() in recipe autofill","details":"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.","aliases":["GHSA-fj24-576j-7fh7"],"modified":"2026-11-19T21:01:31.481559552Z","published":"2026-11-19T19:48:57.075Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130161.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130161.json"},{"type":"FIX","url":"https://github.com/alexbates/Tamari/commit/50f69e3e66c0f41aaab013838340dcdb868dd958"},{"type":"WEB","url":"https://github.com/alexbates/Tamari/releases/tag/v1.7.2"},{"type":"ADVISORY","url":"https://github.com/alexbates/Tamari/security/advisories/GHSA-fj24-576j-7fh7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130161"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/alexbates/tamari","events":[{"introduced":"0"},{"fixed":"2bd97bcd346957d2b1f48a95016a4be1ae9391a2"},{"fixed":"50f69e3e66c0f41aaab013838340dcdb868dd958"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"1.7.2"}]},{"range":[{"fixed":"50f69e3e66c0f41aaab013838340dcdb868dd958"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v1.7.2","range":[{"fixed":"2bd97bcd346957d2b1f48a95016a4be1ae9391a2"}],"source":"REFERENCES_TAG"}]}}],"versions":["v1.7.1","v1.7","v1.6","v1.5","v1.4","v1.3","v1.2","v1.1","v0.9","v0.8","v0.7","v0.6","v0.5","v0.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130161.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}