All vulnerabilities

PyPI

CVE-2026-77315

Flyto2 Core: http.paginate follows server-supplied next-page URLs (Link header / cursor) without SSRF revalidation

Severity
High 8.5
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.26.8
Exploit chance
0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Server-side request forgery (CWE-918)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Also known as
GHSA-2mr3-rxrq-238c
Sources
OSV.dev and GitHub

Description

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

  • 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.
From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
flyto-corePyPI · osv:PyPI:flyto-core
  • Every version before 2.26.8

About flyto-core

Weekly downloads (PyPI)
658PyPI Stats, 24 Nov 2026

References