Skip to content
Heist/ feed
High

Dio: Cross-origin redirect leaks sensitive request headers in `dio_http2_adapter`

Type: advisorySource: Official CVE List1 source record

Dio is a powerful HTTP client for Dart and Flutter. From 1.0.0 until 2.8.0, dio_http2_adapter follows redirects in Http2Adapter._fetch by copying the original RequestOptions.headers into the redirected HTTP/2 request without comparing the source and destination origins. A server contacted by an application can return a cross-origin Location redirect to a different-origin destination, which then receives preserved Authorization, Cookie, and Proxy-Authorization headers because RequestOptions.copyWith retains the full header map. The issue applies when applications use Http2Adapter for authenticated requests, and redirect following is enabled by default. This issue is fixed in version 2.8.0.

Announced Group revision 1
Original source ↗

CVE-2026-103030

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-103030

dio

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "cfug",
    "product": "dio",
    "versions": [
      {
        "status": "affected",
        "version": ">= 1.0.0, < 2.8.0"
      }
    ]
  }
]
Related CVEs
CVE-2026-103030

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#20557 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement