Skip to content
High 8.5

Flyto2 Coreにサーバー側リクエスト偽造の脆弱性、内部サービスの情報が漏えいするおそれ

CVE-2026-77315 First seen on SecPulse

Summary

Flyto2 Coreのhttp.paginateで、サーバーが返す次ページのURLが再検証されずに従われるため、内部サービスやメタデータサービスの応答が取得され、結果に含まれるおそれがあります。影響するのは2.26.8より前の版で、2.26.8で修正されています。2.26.8以降へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Flyto2 Coreのhttp.paginateで、サーバーが返す次ページのURLが再検証されずに従われるため、内部サービスやメタデータサービスの応答が取得され、結果に含まれるおそれがあります。影響するのは2.26.8より前の版で、2.26.8で修正されています。2.26.8以降へ更新してください。

Affected packages

PackageAffected → Fixed
flytohubflyto-core —
pipflyto-core
< 2.26.8→ 2.26.8
Original description The description as published by the source.

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: ; 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: /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 (`_…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details