Skip to main content
VulnerabilityPublished 07/24/2026

Hubuum client library (Rust): Authenticated requests may escape the configured base path through redirects

Affects hubuum_clientSource GCVE Database

Severity
Medium

Rated by Threat Radar

Patch
Available – fixed in 0.6.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

What to do

AI-suggested

A fixed version 0.6.1 of the Hubuum client library disables automatic redirect following by setting reqwest's redirect policy to none, causing 3xx responses to be returned as errors instead of followed. Users of affected versions (>=0.0.1 <0.6.1) should upgrade to 0.6.1 or later. Alternatively, users can construct a reqwest client with redirect policy set to none and supply it explicitly to the Hubuum client. Deployments should also ensure the Hubuum origin is not shared with other applications and that trusted infrastructure does not redirect API requests outside the configured path prefix to reduce exposure.

Affected software

ProductAffectedFixed in
crates.iohubuum_clientAffected
  • >=0.0.1 <0.6.1
Fixed in
  • 0.6.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The Hubuum client library for Rust versions from 0.0.1 up to but not including 0.6.1 has a vulnerability where authenticated requests may leak the bearer Authorization header outside the configured base path due to how HTTP redirects are handled. The library uses reqwest's default redirect policy, which retains sensitive headers on redirects within the same origin but different paths. An attacker or compromised intermediary influencing a 3xx redirect response could cause the Authorization header to be sent to unintended paths on the same origin. This does not affect cross-origin redirects. The issue is fixed in version 0.6.1 by disabling automatic redirect following. Workarounds include configuring reqwest clients to disable redirects and ensuring the Hubuum origin is not shared with other applications that could redirect requests outside the allowed path prefix.

Weaknesses

References