Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-49214

Type: advisorySource: OSV1 source record

guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Versions prior to 2.10.2 did not reject ASCII control characters, whitespace, or DEL in first-party URI host components. A vulnerable flow is: First, an application accepts a user-controlled URL. Second, the URL is used to construct a PSR-7 `Uri` or `Request`. Third, the host component contains CRLF or another header-unsafe character. Fourth, the host is copied into the PSR-7 `Host` header when no explicit `Host` header is provided. Finally, the request is serialized or sent by an HTTP client that does not independently reject the malformed host. In that flow, an attacker can cause the serialized request to contain additional attacker-controlled header lines. For example, a host containing `"\r\nX-Injected: yes"` can cause the generated `Host` header to span multiple HTTP header lines. Applications are affected when they use user-controlled URLs for outbound HTTP requests, URL forwarding, proxying, crawling, webhook delivery, or similar request-dispatch flows. In deployments involving HTTP/1.1 connection reuse, proxies, gateways, or load balancers, this malformed request may also contribute to request smuggling or cache poisoning, depending on how downstream components parse the request. The issue is patched in `2.10.2` and later. `1.x` is end-of-life and will not receive a patch. As a workaround, validate and reject all untrusted URI strings before constructing PSR-7 `Uri` or `Request` instances. Reject i

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-49214

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: osv:DEBIAN-CVE-2026-49214

php-guzzlehttp-psr7

Source reference: /affected/0/package/name

Affected versions
2.4.5-1

Source reference: /affected/0/versions

Fixed versions
2.4.5-1+deb12u1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

php-guzzlehttp-psr7

Source reference: /affected/1/package/name

Affected versions
2.7.1-1

Source reference: /affected/1/versions

Fixed versions
2.7.1-1+deb13u1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

php-guzzlehttp-psr7

Source reference: /affected/2/package/name

Affected versions
2.7.1-1

Source reference: /affected/2/versions

2.8.0-1

Source reference: /affected/2/versions

2.8.0-2

Source reference: /affected/2/versions

2.9.0-1

Source reference: /affected/2/versions

2.9.0-2

Source reference: /affected/2/versions

Fixed versions
2.10.3-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.4.5-1+deb12u1"
          }
        ]
      }
    ],
    "package": {
      "name": "php-guzzlehttp-psr7",
      "purl": "pkg:deb/debian/php-guzzlehttp-psr7?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "2.4.5-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49214.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.7.1-1+deb13u1"
          }
        ]
      }
    ],
    "package": {
      "name": "php-guzzlehttp-psr7",
      "purl": "pkg:deb/debian/php-guzzlehttp-psr7?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "2.7.1-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49214.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.10.3-1"
          }
        ]
      }
    ],
    "package": {
      "name": "php-guzzlehttp-psr7",
      "purl": "pkg:deb/debian/php-guzzlehttp-psr7?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "2.7.1-1",
      "2.8.0-1",
      "2.8.0-2",
      "2.9.0-1",
      "2.9.0-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49214.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

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