# CVE-2026-77313: Flyto2 Core: SSRF guard validates the resolved IP but connects by hostname, allowing DNS-rebinding TOCTOU

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.30% (percentile 15, 2026-11-28)
- **CWE:** CWE-367, CWE-918
- **Aliases:** GHSA-pfg2-w999-497v
- **Published:** 2026-11-19T21:45:42.636Z
- **Modified:** 2026-11-20T17:18:26.793Z

## Who should check

- Projects that depend on PyPI package flyto-core (\<= 2.26.7)
- Anyone running flytohub flyto-core \< 2.26.8

## 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.

## Affected and fixed versions

- PyPI `flyto-core`: affected \<= 2.26.7; fixed 2.26.8 (ghsa)
- flytohub flyto-core: \< 2.26.8 (cvelist)

## Technologies

PyPI packages

## Mitigation

- Upgrade flyto-core to 2.26.8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-77313. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-77313.md
Affected: flyto-core <= 2.26.7
Fixed in: 2.26.8

Steps:
1. Search this machine and project for flyto-core (PyPI), flytohub flyto-core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-77313 being exploited?

There is no confirmed exploitation: CVE-2026-77313 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-77313?

High: CVSS 7.1 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-77313?

flyto-core \<= 2.26.7.

### Is there a fix for CVE-2026-77313?

Yes. Fixed in 2.26.8. Upgrade flyto-core to 2.26.8 or later.

### How do I check if I'm affected by CVE-2026-77313?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/flytohub/flyto-core/security/advisories/GHSA-pfg2-w999-497v>
- patch: <https://github.com/flytohub/flyto-core/commit/bf748df864d348004cf45d830bc59f62c5c4a58a>
- other: <https://github.com/flytohub/flyto-core/releases/tag/v2.26.8>
- other: <https://github.com/advisories/GHSA-pfg2-w999-497v>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-77313>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-pfg2-w999-497v> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-77313> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-77313>
