GHSA-f45q-w629-wr25 Hubuum client library (Rust): Authenticated requests may escape the configured base path through redirects

Not scored Published

Authenticated requests may leak bearer tokens to other paths on the same origin via redirects, exposing sensitive credentials to attackers or compromised servers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-f45q-w629-wr25?

GHSA-f45q-w629-wr25 is a vulnerability in hubuum_client, published on 24 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Impact

The built-in async and blocking clients used reqwest's default redirect policy. BaseUrl constrains the initial request to the configured origin and path prefix, but redirect processing occurs after that validation. reqwest retains sensitive headers when a redirect changes only the path on the same scheme, host, and port. A redirect from a Hubuum endpoint to another path on a shared origin could therefore carry the bearer Authorization header outside the configured Hubuum path prefix.

Exploitation requires an attacker, compromised server, or intermediary to influence a 3xx response. Cross-origin redirects are not affected because reqwest strips sensitive headers when scheme, host, or port changes.

Patches

Version 0.6.1 configures both built-in HTTP clients with reqwest::redirect::Policy::none(). Redirect responses are returned as 3xx API errors instead of being followed. Supplying a preconfigured reqwest client remains an explicit opt-in to that client's redirect policy.

Workarounds

On affected versions, construct a reqwest client with reqwest::redirect::Policy::none() and pass it through with_http_client. Deployments can also reduce exposure by ensuring the Hubuum origin is not shared with other applications and that trusted infrastructure never redirects API requests outside the configured path prefix.

Which versions are affected by GHSA-f45q-w629-wr25?

2 open source packages ship an affected version, including hubuum_client.

PackageAffectedFixed in
hubuum_client crates.ioFrom 0.0.10.6.1
hubuum_client crates.ioFrom 0.0.10.6.1

How do I fix GHSA-f45q-w629-wr25?

Upgrade hubuum_client to 0.6.1 or later.

Is GHSA-f45q-w629-wr25 being exploited?

There is no known exploitation of GHSA-f45q-w629-wr25 in the wild and no public exploit code.

Sources

Is GHSA-f45q-w629-wr25 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free