cve.bz

CVE-2026-48998 guzzlephp psr-7: SSRF

5.3 mediumEPSS 0.2%Fix available

Medium (5.3) in guzzlephp psr-7. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in guzzlehttp/psr7 2.10.2.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-06-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-918 Server-Side Request Forgery (SSRF)
CWE-20 Improper Input Validation
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-48998 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-48998?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-48998?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-48998 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
guzzlephp:psr-7before 2.10.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-34xg-wgjx-8xphPackagistguzzlehttp/psr7<2.10.22.10.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12php-guzzlehttp-psr72.4.5-1+deb12u1DEBIAN-CVE-2026-48998
Debian13php-guzzlehttp-psr72.7.1-1+deb13u1DEBIAN-CVE-2026-48998
Debian14php-guzzlehttp-psr72.10.3-1DEBIAN-CVE-2026-48998
Ubuntu16.04:LTS, 20.04:LTS, 24.04:LTS and 4 morephp-guzzlehttp-psr7no fix listedUBUNTU-CVE-2026-48998

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate flaw in `guzzlehttp/psr7` allows a remote attacker to provide a malformed Host header, leading to misinterpretation of the intended destination. This can result in information disclosure, particularly in forwarding or gateway configurations where applications rely on the parsed URI host for routing or security decisions and process untrusted HTTP requests.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-48998.

Attack patterns (CAPEC)

  • CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON