linuxfabrik-lib: fetch() forwards credential headers across a cross-origin redirect
Summary
lib.url.fetch() follows HTTP redirects (follow_redirects=True). httpx strips only Authorization and Cookie when a redirect crosses the origin, so any other caller-supplied credential header (a session token such as Redfish's X-Auth-Token, an API key, ...) was still sent to the redirect target. A malicious or redirect-capable server can therefore answer an authenticated request with a 3xx to an attacker-chosen host and receive the credential (server-side request forgery + token disclosure). The pre-httpx urllib implementation was worse: it forwarded every header, including Authorization, across cross-host redirects.
Impact
Any plugin that authenticates to a host with a non-standard auth header and follows that host's redirects can be coerced into sending the credential, and an authenticated request, to another host the monitoring server can reach. The concrete case is the Redfish checks (X-Auth-Token), but the flaw is in the shared fetch() and affects every consumer.
Patches
Fixed in linuxfabrik-lib 6.0.0 (commit 6573ff9). On a cross-origin redirect (any scheme/host/port change other than a plain same-host HTTP-to-HTTPS upgrade) fetch() now keeps only benign transport headers and drops every other caller-supplied header, so credentials never follow a redirect to a different origin.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Python (PyPI) | linuxfabrik-lib | < 6.0.0 | 6.0.0 |
Odnośniki
- https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-4jc5-g844-4x33
- https://nvd.nist.gov/vuln/detail/CVE-2026-67435
- https://github.com/Linuxfabrik/lib/commit/6573ff9347e541200305d278d2663d2e54e052ff
- https://github.com/Linuxfabrik/lib/releases/tag/v6.0.0
- https://github.com/Linuxfabrik/monitoring-plugins
- https://pypi.org/project/linuxfabrik-lib
- https://github.com/advisories/GHSA-4jc5-g844-4x33
- Wektor CVSS
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N- Słabość (CWE)
CWE-200, CWE-918- Platforma
- Python (PyPI)
- Paczka
linuxfabrik-lib- Ujawniono
- 30.07.2026
- Aktualizacja
- 11.10.2026 14:19
Źródła i licencje
OSV / GitHub Advisory Database - PYSEC-2026-3578 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-4jc5-g844-4x33 - CC BY 4.0
Historia podatności: linuxfabrik-lib
Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 5
- Pierwsza → ostatnia
- 07.2026 08.2026
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Wysoka 2
- Średnia 2
- Niska 1
Ujawnienia w latach
- 2026: 5
-
linuxfabrik-lib: fetch() forwards credential headers across a cross-origin redirect ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.