UBUNTU-CVE-2026-48998

Source
https://ubuntu.com/security/CVE-2026-48998
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48998.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-48998
Upstream
Published
2026-06-11T13:16:00Z
Modified
2026-06-17T06:30:37.581355623Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

Affected packages

Ubuntu:16.04:LTS
php-guzzlehttp-psr7

Package

Name
php-guzzlehttp-psr7
Purl
pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.1.0-1
1.2.0-1
1.2.1-1
1.2.2-1
1.2.2-1build1
1.2.2-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "php-guzzlehttp-psr7",
            "binary_version": "1.2.2-1ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48998.json"
Ubuntu:20.04:LTS
php-guzzlehttp-psr7

Package

Name
php-guzzlehttp-psr7
Purl
pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.4.2-0.1
1.4.2-0.1+deb10u2build0.20.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "php-guzzlehttp-psr7",
            "binary_version": "1.4.2-0.1+deb10u2build0.20.04.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48998.json"
Ubuntu:24.04:LTS
php-guzzlehttp-psr7

Package

Name
php-guzzlehttp-psr7
Purl
pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.6.0-1
2.6.1-1
2.6.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "php-guzzlehttp-psr7",
            "binary_version": "2.6.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48998.json"
Ubuntu:25.10
php-guzzlehttp-psr7

Package

Name
php-guzzlehttp-psr7
Purl
pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.0-3
2.7.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "php-guzzlehttp-psr7",
            "binary_version": "2.7.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48998.json"
Ubuntu:26.04:LTS
php-guzzlehttp-psr7

Package

Name
php-guzzlehttp-psr7
Purl
pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.1-1
2.8.0-1
2.8.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "php-guzzlehttp-psr7",
            "binary_version": "2.8.0-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48998.json"
Ubuntu:Pro:22.04:LTS
php-guzzlehttp-psr7

Package

Name
php-guzzlehttp-psr7
Purl
pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.0-1
1.8.3-1
1.8.3-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "php-guzzlehttp-psr7",
            "binary_version": "1.8.3-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48998.json"