{"id":"CVE-2026-77313","aliases":["GHSA-pfg2-w999-497v"],"title":"Flyto2 Core: SSRF guard validates the resolved IP but connects by hostname, allowing DNS-rebinding TOCTOU","originalDescription":"Flyto2 Core is an execution kernel for automation and AI-agent workflows. Prior to 2.26.8, validate_url_ssrf in src/core/utils.py resolves and checks a hostname but returns the hostname URL rather than the validated address, and session.get in http.get performs an independent DNS lookup when connecting. A low-privileged caller with control of the hostname's DNS can make the first lookup return a public address and the connection-time lookup return an internal address, bypassing the SSRF guard for all modules that call it and exposing readable internal or metadata-service responses. Successful exploitation requires attacker-controlled DNS and a successful timing-dependent answer change between the two lookups. This issue is fixed in version 2.26.8.","severity":{"cvss":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00296,"percentile":0.24022},"exploitDb":null},"affected":[{"ecosystem":"PyPI","name":"flyto-core","range":"<= 2.26.7","fixed":"2.26.8"},{"ecosystem":"PyPI","name":"flyto-core","range":">=0, <2.26.8","fixed":"2.26.8"}],"references":[{"url":"https://github.com/flytohub/flyto-core/security/advisories/GHSA-pfg2-w999-497v","type":"x_refsource_CONFIRM"},{"url":"https://github.com/flytohub/flyto-core/commit/bf748df864d348004cf45d830bc59f62c5c4a58a","type":"x_refsource_MISC"},{"url":"https://github.com/flytohub/flyto-core/releases/tag/v2.26.8","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77313.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77313","type":"advisory"},{"url":"https://github.com/advisories/GHSA-pfg2-w999-497v","type":"other"},{"url":"https://github.com/flytohub/flyto-core","type":"package"}],"sources":[{"name":"nvd","at":"2026-12-02T21:23:17.691Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77313","license":"NVD terms of use","firstSeenAt":"2026-11-19T22:19:21.915Z"},{"name":"osv","at":"2026-11-20T19:10:28.485Z","url":"https://osv.dev/vulnerability/CVE-2026-77313","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T23:23:18.935Z"},{"name":"ghsa","at":"2026-12-04T04:34:08.303Z","url":"https://github.com/advisories/GHSA-pfg2-w999-497v","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T00:29:05.839Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:33.778Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-77313","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T22:17:38.953Z"}],"firstSeenAt":"2026-11-19T22:17:38.953Z","publishedAt":"2026-11-19T21:45:42.636Z","modifiedAt":"2026-12-02T21:14:11.950Z"}