CVE-2026-77315: Flyto2 Core http.paginate SSRF via server-supplied next-page URLs
Detects server-side request forgery (SSRF) exploitation of CVE-2026-77315 in the Flyto2 Core (flyto-core, pip) HTTP client. The http.paginate helper follows server-supplied next-page URLs (from the HTTP Link header rel=next or JSON cursor fields) without re-running SSRF revalidation on the followed URL. An attacker who controls, or can poison, a paginated upstream response can cause the application server to issue requests to attacker-chosen internal targets (cloud metadata endpoints such as 169.254.169.254, link-local, loopback, RFC1918 ranges, or internal service names), enabling credential theft and internal reconnaissance. Affects flyto-core <= 2.26.7; fixed in v2.26.8. CWE-918.
Vulnerability Intelligence
Public PoCAffected Software
- Vendor
- pip
- Product
- flyto-core
- Versions
- <= 2.26.7
Weakness (CWE)
Timeline
- Disclosed
- November 20, 2026
References & Proof of Concept
What is CVE-2026-77315 CVE-2026-77315: Flyto2 Core http.paginate SSRF via server-supplied next-page URLs?
CVE-2026-77315: Flyto2 Core http.paginate SSRF via server-supplied next-page URLs (CVE-2026-77315) maps to the Initial Access and Collection and Credential Access tactics — the adversary is trying to get into your network in MITRE ATT&CK.
This page provides production-ready detection logic for CVE-2026-77315: Flyto2 Core http.paginate SSRF via server-supplied next-page URLs, covering the data sources and telemetry it touches: Microsoft Defender for Endpoint, DeviceNetworkEvents. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.
MITRE ATT&CK
// df00tech DF00-6deade0860 · https://df00tech.com/detections/CVE-2026-77315 · licence: https://df00tech.com/detections/licence
// Detect flyto-core http.paginate following next-page URLs to internal/metadata targets
let metadataTargets = dynamic(["169.254.169.254","169.254.170.2","metadata.google.internal","100.100.100.200","fd00:ec2::254"]);
union isfuzzy=true
(DeviceNetworkEvents
| where InitiatingProcessFileName in~ ("python","python3","gunicorn","uvicorn","uwsgi")
| where InitiatingProcessCommandLine has_any ("flyto","flyto_core","flyto-core","paginate")
or InitiatingProcessCommandLine has "flyto"
| extend DestIp = RemoteIP, DestUrl = RemoteUrl),
(DeviceNetworkEvents
| extend DestIp = RemoteIP, DestUrl = RemoteUrl)
| where ipv4_is_in_range(DestIp, "169.254.0.0/16")
or ipv4_is_in_range(DestIp, "127.0.0.0/8")
or ipv4_is_in_range(DestIp, "10.0.0.0/8")
or ipv4_is_in_range(DestIp, "172.16.0.0/12")
or ipv4_is_in_range(DestIp, "192.168.0.0/16")
or DestIp in (metadataTargets)
or DestUrl has_any (metadataTargets)
| where InitiatingProcessFileName in~ ("python","python3","gunicorn","uvicorn","uwsgi")
| project TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, RemoteIP, RemoteUrl, RemotePort, InitiatingProcessAccountName
| order by TimeGenerated desc Flags outbound connections from Python web-app worker processes (likely flyto-core consumers) to cloud metadata, loopback, link-local, or RFC1918 destinations, the SSRF sink reached when http.paginate follows an attacker-controlled next-page URL.
Data Sources
Required Tables
False Positives
- Legitimate internal API pagination where the upstream and internal targets are genuinely trusted microservices in RFC1918 space
- Service-discovery or health-check agents that poll link-local/loopback endpoints
- Cloud SDKs or instance agents that legitimately query the metadata endpoint on the same host
Query fingerprint DF00-6deade0860 · licence
Sigma logsource & community rules
The detection logic for CVE-2026-77315: Flyto2 Core http.paginate SSRF via server-supplied next-page URLs (CVE-2026-77315) above is provided in a vendor-neutral
form so you can deploy it on any SIEM. The same logic is shipped here as native
KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the
following logsource:
logsource:
category: network_connection
product: windows Browse the community-maintained Sigma rules for this technique:
Platform-specific guides for CVE-2026-77315
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 flyto-core paginate follows Link header to metadata endpoint
Expected signal: Outbound connection from python3 to 169.254.169.254 shortly after a local HTTP fetch.
- Test 2 JSON cursor next-page URL points to loopback service
Expected signal: python3 process initiates connection to 127.0.0.1:9000.
- Test 3 paginate follows next URL to RFC1918 internal host
Expected signal: Outbound connection attempt from python3 to 10.0.0.1.
Response Playbook
Triage
- Confirm the affected host runs an application depending on flyto-core <= 2.26.7 (check `pip show flyto-core` / requirements lockfiles / SBOM).
- Inspect the destination of the flagged connection: determine whether it targets a cloud metadata endpoint (169.254.169.254, metadata.google.internal, 100.100.100.200) or an internal service, which indicates successful SSRF.
- Correlate the outbound request with the upstream paginated API response, look for an attacker-controllable Link header (rel=next) or JSON cursor whose host differs from the originally requested host.
- Review application logs for http.paginate calls that followed a next-page URL pointing to a non-original host/scheme.
Containment
- Upgrade flyto-core to >= 2.26.8 on all affected hosts and redeploy the application.
- Apply egress network controls (deny-list link-local/metadata ranges, enforce IMDSv2) from application worker hosts until patched.
- Rotate any cloud credentials or tokens reachable from the instance metadata endpoint if metadata access is confirmed.
Evidence Collection
- Capture proxy/network logs showing the full URL and destination IP of the SSRF-driven requests, including the originating process.
- Preserve application logs containing the upstream paginated responses (Link headers / cursor values) that triggered the follow-on request.
Escalation Criteria
- ! Escalate to IR immediately if the detection shows successful retrieval from a cloud metadata endpoint (potential credential theft).
- ! Escalate if the SSRF requests reach internal admin/service endpoints or return non-error responses indicating internal access.
Investigation Guide
Forensic Artifacts
- >
Application logs recording http.paginate following a next-page URL whose host differs from the original request - >
Proxy/firewall logs of outbound requests from the app host to link-local/metadata/RFC1918 destinations - >
Installed flyto-core package version in the Python environment
Tuning Guidance
Baseline legitimate internal pagination destinations and trusted microservice CIDRs, then exclude them. Narrow the process filter to the specific service accounts/binaries that run flyto-core applications. Where IMDSv2 is enforced and metadata is legitimately accessed by instance agents, scope out those agents by process name. Prioritize alerts where the followed next-page host differs from the originally requested upstream host.
Hunting Queries
Surfaces Python application worker connections to link-local/metadata address space for retrospective SSRF hunting against flyto-core consumers.
// df00tech DF00-6deade0860 · https://df00tech.com/detections/CVE-2026-77315 · licence: https://df00tech.com/detections/licence
DeviceNetworkEvents | where InitiatingProcessFileName in~ ("python","python3","gunicorn","uvicorn") | where RemoteIP startswith "169.254." or RemoteIP == "169.254.169.254" | summarize count() by DeviceName, RemoteIP, RemoteUrl, InitiatingProcessCommandLine ``` df00tech DF00-6deade0860 · https://df00tech.com/detections/CVE-2026-77315 · licence: https://df00tech.com/detections/licence ```
index=network OR index=proxy | eval meta=if(cidrmatch("169.254.0.0/16",dest_ip),1,0) | where meta=1 | stats count by host dest_ip url process Atomic Red Team Tests
Simulate http.paginate following an attacker-controlled rel=next Link header pointing at the cloud metadata IP.
Command
python3 -c "import http.server,threading,urllib.request,socketserver;\nclass H(http.server.BaseHTTPRequestHandler):\n def do_GET(self):\n self.send_response(200);self.send_header('Link','<http://169.254.169.254/latest/meta-data/>; rel=\"next\"');self.end_headers();self.wfile.write(b'{}')\nimport functools;\nsrv=socketserver.TCPServer(('127.0.0.1',8899),H);threading.Thread(target=srv.serve_forever,daemon=True).start();\nimport urllib.request as u;r=u.urlopen('http://127.0.0.1:8899/page1');link=r.headers.get('Link');nxt=link.split('<')[1].split('>')[0];\nprint('following',nxt);\ntry:\n u.urlopen(nxt,timeout=2)\nexcept Exception as e:print('request attempted:',e)" Cleanup
pkill -f 8899 2>/dev/null; true Expected Telemetry
Outbound connection from python3 to 169.254.169.254 shortly after a local HTTP fetch.
Expected Detection
KQL/EQL rule flags python process connecting to 169.254.169.254 (link-local/metadata).
Simulate a paginated JSON response whose next_cursor URL targets an internal loopback admin port.
Command
python3 -c "import urllib.request as u;\nnext_url='http://127.0.0.1:9000/admin';\nprint('paginate following cursor to',next_url);\ntry:\n u.urlopen(next_url,timeout=2)\nexcept Exception as e:print('request attempted:',e)" Cleanup
true Expected Telemetry
python3 process initiates connection to 127.0.0.1:9000.
Expected Detection
Rule flags loopback-targeted request from a flyto-core Python worker.
Simulate following a server-supplied next-page URL to an internal RFC1918 address, emulating internal recon via SSRF.
Command
python3 -c "import urllib.request as u;\ntarget='http://10.0.0.1/internal';\nprint('following next page to',target);\ntry:\n u.urlopen(target,timeout=2)\nexcept Exception as e:print('request attempted:',e)" Cleanup
true Expected Telemetry
Outbound connection attempt from python3 to 10.0.0.1.
Expected Detection
Rule flags RFC1918-targeted request originating from a Python flyto-core worker.
Related Detections
Related Techniques
Same Tactic: Initial Access
Blog posts about this detection
Browse by tactic
- Reconnaissance TA0043
- Resource Development TA0042
- Initial Access TA0001
- Execution TA0002
- Persistence TA0003
- Privilege Escalation TA0004
- Stealth TA0005
- Defense Impairment TA0112
- Credential Access TA0006
- Discovery TA0007
- Lateral Movement TA0008
- Collection TA0009
- Command and Control TA0011
- Exfiltration TA0010
- Impact TA0040