CVE-2026-77313
Flyto2 Core: SSRF guard validates the resolved IP but connects by hostname, allowing DNS-rebinding TOCTOU
- CVSS
- 7.1
- EPSS
- 0.30% (p24)
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-12-02
- Product
- flytohub flyto-core
- Aliases
- GHSA-pfg2-w999-497v
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
Description
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.
Fixed in
2.26.8
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| PyPI | flyto-core | <= 2.26.7 | 2.26.8 |
| PyPI | flyto-core | >=0, <2.26.8 | 2.26.8 |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://github.com/flytohub/flyto-core/security/advisories/GHSA-pfg2-w999-497v x_refsource_CONFIRM
- https://github.com/flytohub/flyto-core/commit/bf748df864d348004cf45d830bc59f62c5c4a58a x_refsource_MISC
- https://github.com/flytohub/flyto-core/releases/tag/v2.26.8 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77313.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-77313 advisory
- https://github.com/advisories/GHSA-pfg2-w999-497v other
- https://github.com/flytohub/flyto-core package