Skip to main content
CVE-2026-48998VulnerabilityPublished Updated

Php guzzlehttp psr7: Versions prior to 2.10.2 contain improper Host header validation when parsing raw HTTP request

Affects php-guzzlehttp-psr7Source GCVE Database

0
Compare
Authoritative record:CVE-2026-48998· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · end of life, no fix coming : replace or isolate php-guzzlehttp-psr7; no fix will be released.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
None coming – the product is end of life
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

No fix will be released: php-guzzlehttp-psr7 is end of life. Replace it, or isolate it from untrusted networks until you can.

Affected software

ProductAffectedFixed in
Ubuntu 26.10php-guzzlehttp-psr7pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=stonkingOther threatsAffected
  • 2.8.0-2 – 2.13.0-1
7 affected builds
Fixed in–
Ubuntu 26.04 LTSphp-guzzlehttp-psr7pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=resoluteOther threatsAffected
  • =2.7.1-1
  • =2.8.0-1
  • =2.8.0-2
Fixed in–
Ubuntu 25.10php-guzzlehttp-psr7pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=questingOther threatsAffected
  • =2.7.0-3
  • =2.7.1-1
Fixed in–
Ubuntu 24.04 LTSphp-guzzlehttp-psr7pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=nobleOther threatsAffected
  • =2.6.0-1
  • =2.6.1-1
  • =2.6.2-1
Fixed in–
Ubuntu Pro 22.04 LTSphp-guzzlehttp-psr7pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =1.7.0-1
  • =1.8.3-1
  • =1.8.3-1ubuntu0.1~esm1
Fixed in–
Ubuntu 20.04 LTSphp-guzzlehttp-psr7pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=focalOther threatsAffected
  • =1.4.2-0.1
  • =1.4.2-0.1+deb10u2build0.20.04.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Versions prior to 2.10.2 contain improper Host header validation when parsing raw HTTP request messages and when deriving a server request URI from server variables. An attacker can provide a malformed Host header containing URI authority delimiters, such as `trusted.example@evil.example`. When the Host value is used to construct a URI, the malformed value can be reinterpreted as URI userinfo and host. This can cause the PSR-7 request URI host to differ from the original Host header value. Applications are affected if they parse attacker-controlled raw HTTP requests with `GuzzleHttp\Psr7\Message::parseRequest()` or the legacy 1.x `GuzzleHttp\Psr7\parse_request()` function, or if they build server requests from attacker-controlled server variables, then rely on the resulting URI host for routing, allow-list checks, or forwarding decisions. In affected forwarding or gateway scenarios, this may cause requests or credentials to be sent to an unintended host. The issue is patched in `2.10.2`. `1.x` is end-of-life and will not receive a patch. Some workarounds are available. Validate the `Host` header as `uri-host [ ":" port ]` before calling `Message::parseRequest()` or legacy `parse_request()` on untrusted HTTP request data, or before deriving routing and forwarding decisions from a parsed request URI. Reject Host values containing userinfo, path, query, or fragment delimiters.

References

Community reviews

Loading reviews…