Skip to main content
VulnerabilityPublished

Io.micronaut:micronaut http client: Micronaut: DefaultHttpClient follows redirects, forwarding Authorization, Cookie, and Proxy-Authorization headers

Affects io.micronaut:micronaut-http-clientSource GCVE Database

0

CVSS 6.8 Medium : upgrade to 3.10.6 when convenient.

Data as of 10 Jul 2026, 09:29 UTC

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

What 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

ProductAffectedFixed in
Mavenio.micronaut:micronaut-http-clientAffected
  • >=1.2.8 <3.10.6
Fixed in
  • 3.10.6
Mavenio.micronaut:micronaut-http-clientAffected
  • >=4.0.0-M1 <4.10.24
Fixed in
  • 4.10.24
Mavenio.micronaut:micronaut-http-clientAffected
  • >=5.0.0-M1 <5.0.1
Fixed in
  • 5.0.1

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

Community reviews

Loading reviews…