Io.micronaut:micronaut http client: Micronaut: DefaultHttpClient follows redirects, forwarding Authorization, Cookie, and Proxy-Authorization headers
Affects io.micronaut:micronaut-http-clientSource GCVE Database
CVSS 6.8 Medium : upgrade to 3.10.6 when convenient.
Data as of 10 Jul 2026, 09:29 UTC
- Patch
- Available – fixed in 3.10.6, 4.10.24, 5.0.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:NWhat to do
Upgrade io.micronaut:micronaut-http-client to 3.10.6; io.micronaut:micronaut-http-client to 4.10.24; io.micronaut:micronaut-http-client to 5.0.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Mavenio.micronaut:micronaut-http-client | Affected
| Fixed in
|
| Mavenio.micronaut:micronaut-http-client | Affected
| Fixed in
|
| Mavenio.micronaut:micronaut-http-client | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Official patches are available and should be applied to remediate this vulnerability. Upgrade to Micronaut versions 3.10.6 or later, 4.10.24 or later, or 5.0.1 or later, depending on your major version. No workarounds are provided. Applying these updates will ensure sensitive headers are stripped on cross-domain redirects and that redirect loops are prevented by enforcing a maximum redirect count.
Description
### Impact > DefaultHttpClient follows redirects and forwards Authorization, Cookie, and Proxy-Authorization headers to redirect targets across domain boundaries. The blocklist only filters Host/Connection/TE/CT/CL. > Additionally, no maximum redirect count exists, enabling infinite loop DoS. > Affected: DefaultHttpClient.java lines 231-245, 1591, 2071 > Suggested fix: Strip sensitive headers on cross-domain redirects ### Patches It has been patched for versions: For Micronaut 5, versions equal or greater than 5.0.1 >= For Micronaut 4, versions equal or greater than 4.10.24 >= For Micronaut 3, versions equal or greater than 3.10.6 >= ### Workarounds No ### References Micronaut 5 Patch: https://github.com/micronaut-projects/micronaut-core/commit/9770328999f490bdfbb9e25addd45bf73d4a173a Micronaut 4 Patch: https://github.com/micronaut-projects/micronaut-core/commit/70cab4b44fbf985faba2846091f2356b5bd70719 Micronaut 3 Patch: https://github.com/micronaut-projects/micronaut-core/commit/64e539736b8168f201d868b02ace50fe14f57418
References
- github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-q6gh-6v2r-hjv3 (opens in a new tab)
- github.com/micronaut-projects/micronaut-core/commit/64e539736b8168f201d868b02ace50fe14f57418 (opens in a new tab)
- github.com/micronaut-projects/micronaut-core/commit/70cab4b44fbf985faba2846091f2356b5bd70719 (opens in a new tab)
- github.com/micronaut-projects/micronaut-core/commit/9770328999f490bdfbb9e25addd45bf73d4a173a (opens in a new tab)
- github.com/micronaut-projects/micronaut-core (opens in a new tab)