Skip to content
Heist/ feed
Back to feed
MediumFix available

php-guzzlehttp-psr7 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-49214

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

Products
php-guzzlehttp-psr7
Affected versions
2.4.5-1, 2.7.1-1, 2.8.0-1, 2.8.0-2, 2.9.0-1, 2.9.0-2
Fixed versions
2.10.3-1, 2.4.5-1+deb12u1, 2.7.1-1+deb13u1
CVEs
CVE-2026-49214
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:17 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-49214

core-osv · Original source

Published 11 Jun 2026, 13:16 UTC

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

osv:DEBIAN-CVE-2026-49214

php-guzzlehttp-psr7

Fixed versions: 2.4.5-1+deb12u1

php-guzzlehttp-psr7

Fixed versions: 2.7.1-1+deb13u1

php-guzzlehttp-psr7

Fixed versions: 2.10.3-1

Complete source record
{
  "id": "2a7f52cc1cd341dcaca6304c98a14fca337c0b380a74a9f207389e7bcf4a9dc2",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-49214",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-49214",
    "summary": "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",
    "evidence": "osv:DEBIAN-CVE-2026-49214",
    "products": [
      {
        "name": {
          "value": "php-guzzlehttp-psr7",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.5-1+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.4.5-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "php-guzzlehttp-psr7",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.7.1-1+deb13u1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.7.1-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "php-guzzlehttp-psr7",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.10.3-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.7.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.8.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.8.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.9.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.9.0-2",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-49214",
      "aliases": [
        "DEBIAN-CVE-2026-49214"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "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"
          }
        }
      ],
      "modified": "2026-10-26T11:47:29.013451062Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-49214"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-49214"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-49214",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 450782,
  "published_at": "2026-06-11T13:16:33.3+00:00"
}