Loading advisory.
Loading advisory.
Flyto2 Core: http.paginate follows server-supplied next-page URLs (Link header / cursor) without SSRF revalidation
http.paginate validates only the initial base_url, then follows server-supplied pagination targets (RFC 5988 Link: rel="next" headers, cursor/offset URLs) in a loop without revalidating each follow-up URL.
Published 2026-11-19 21:38 UTC · Modified 2026-11-20 17:52 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| flyto-core | PyPI | < 2.26.8 versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.11.0, 1.12.0, 1.13.0, 1.14.0, 1.14.1, 1.14.2, 1.15.0, 1.16.0 and 197 more | 2.26.8 | pip install --upgrade 'flyto-core>=2.26.8' |
http.paginate validates only the initial base_url, then follows server-supplied pagination targets (RFC 5988 Link: rel="next" headers, cursor/offset URLs) in a loop without revalidating each follow-up URL. An attacker's first-page response can point next at an internal address, causing a second-order SSRF whose internal body is aggregated into the returned items.
src/core/modules/atomic/http/paginate.py:495 validates base_url (first URL only). The pagination loop _paginate_link_header reads next_url via _parse_link_header (:203), sets url=next_url (:208), and calls session.request(method, url) (:196) with NO validate call in the loop (:186-208 has zero guard calls).
Readable second-order SSRF that bypasses the SSRF control; internal/metadata body aggregated into all_items and returned to the caller (C:H, S:C).
Verified live: http.paginate with allowlisted base 127.0.0.1 followed a Link: <http://127.0.0.3/...>; rel="next" (non-allowlisted) and returned INTERNAL-NEXTPAGE-SECRET in the aggregated items.
execute_module http.paginate {"url":"http://attacker.tld/p1","strategy":"link_header"}
attacker p1 response header: Link: <http://<cloud-metadata-ip>/latest/meta-data/>; rel="next"Entry: http.paginate {url:"http://attacker.tld/p1", strategy:"link_header"}. Guard: validate_url_with_env_config(base_url) (paginate.py:495) — validates the FIRST url only.
Sink: _paginate_link_header reads next_url (_parse_link_header :203), url=next_url (:208), session.request(method,url) (:196) — NO validate call in the loop. Bypass proof: only :495 validates; loop at :186-208 has zero guard calls.
Impact: internal body aggregated into all_items and returned → readable second-order SSRF.
Live PoC followed a Link header into non-allowlisted loopback and returned the internal marker in aggregated results. Only base_url is validated; the follow loop never revalidates.
<= 2.26.6 — paginate.py:495 + loop present on latest release tag.
Run every follow-up URL (Link header, cursor, offset target) through validate_url_with_env_config before fetching it inside the pagination loop.
Vulnerability discovered by zx (Jace).
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.004 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.004 | v2026.06.15 |