Summary
Hubuum client library (Rust): Configured custom transports may be bypassed, exposing credentials and network traffic
Advisory details
Summary
When an application configures hubuum_client with ClientBuilder::with_transport, several client operations still use the built-in reqwest client directly. The bypass includes password login, bearer-token validation, authentication-provider discovery, health and readiness probes, export-output downloads, and unified-search streams.
Impact
Applications may use a custom transport as a security boundary for network isolation, proxy enforcement, request signing, audit logging, or policy checks. Affected operations bypass those controls and make direct network requests to the configured base URL. Password login can therefore send plaintext credentials outside the intended transport, while token validation can send a bearer token outside it. Other bypassing calls can evade audit and routing policy.
The issue affects custom transports introduced in 0.3.0. Applications that do not configure a custom transport are not affected by the bypass.
Defense in depth
The same private fix disables redirect following for built-in async and blocking clients so an authenticated request remains at the endpoint validated and constructed by the client. Applications supplying a preconfigured reqwest client continue to control its redirect policy.
Remediation
The proposed fix routes authentication, public discovery and probe calls, export downloads, unified-search streams, raw requests, and typed requests through the configured transport in both async and blocking clients. It preserves retry and error-body policies, documents the buffering semantics of custom transports, and surfaces built-in-client redirects as 3xx API errors.
Validation
Regression tests assert async and blocking routing, paths, login bodies, bearer headers, streaming bodies, retries, error handling, and redirect behavior. Formatting, Clippy with warnings denied, rustdoc warnings, the complete workspace suite, all supported feature combinations, Rust 1.88 MSRV, OpenAPI validation, and the combined library plus downstream-consumer integration suites pass against the immutable Hubuum 0.0.3 image.
References
Related vulnerabilities
All Supply chain →- HIGHGHSA-8cfw-pcwh-v63w
Winter: Authenticated Twig sandbox escape in CMS SecurityPolicy (bypass of CVE-2024-54149)
- MEDIUMGHSA-9w56-46f6-3qhx
asteval Sandbox Escape: arbitrary native memory read/write via numpy ctypes in default asteval Interpreter
- CRITICALCVE-2026-47686
VM2 has Missing Error.cause Sanitization that Enables Sandbox Escape to RCE
- MEDIUMCVE-2026-62902
Microsoft Security Advisory CVE-2026-62902 – .NET Information Disclosure Vulnerability
- HIGHGHSA-f5wm-88jv-g5hx
Craft CMS: Authenticated RCE through Twig sandbox escape
- HIGHCVE-2026-70608
Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path