guzzle — security advisory
Guzzle is an extensible PHP HTTP client. Prior to 7.15.2 and 8.0.1, Guzzle gives a transport the request URI as text and supplies the Host header separately. The cURL handlers set CURLOPT_URL to the URI exactly as written and push that Host into CURLOPT_HTTPHEADER; StreamHandler does the same through fopen(). libcurl then parses the authority itself, percent-decoding it and, on an IDN-capable build, applying IDNA mapping, and uses the result to resolve, connect, name the TLS peer and address a proxy CONNECT, while the supplied Host suppresses the aligned one libcurl would have generated. For a URI host written as 127.0.0.%31, filter_var() rejects the host as an IP literal, yet libcurl decodes it to 127.0.0.1 and reaches loopback with no DNS lookup while the server receives Host: 127.0.0.%31. An attacker who influences a fetched URI can therefore reach a host the application's checks excluded and read whatever the host exposes of the response. The same divergence moves Guzzle's own decisions onto a spelling the transport does not use: no_proxy selects proxy routing from the literal host, and RedirectMiddleware decides from it whether to strip Authorization and Cookie. Exploitation requires the application to build a request URI from untrusted input and to make a host decision before handing it to Guzzle. This issue is fixed in versions 7.15.2 and 8.0.1.
- Products
- guzzle
- Affected versions
- 7.13.1-1, 7.15.1-1, 7.15.2-1, 7.15.3-1, 7.4.5-1, 7.9.2-0.1, 7.9.2-0.1build1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-69246
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:51 UTC · Revision 1
Source evidence
Guzzle is an extensible PHP HTTP client. Prior to 7.15.2 and 8.0.1, Guzzle gives a transport the request URI as text and supplies the Host header separately. The cURL handlers set CURLOPT_URL to the URI exactly as written and push that Host into CURLOPT_HTTPHEADER; StreamHandler does the same through fopen(). libcurl then parses the authority itself, percent-decoding it and, on an IDN-capable build, applying IDNA mapping, and uses the result to resolve, connect, name the TLS peer and address a proxy CONNECT, while the supplied Host suppresses the aligned one libcurl would have generated. For a URI host written as 127.0.0.%31, filter_var() rejects the host as an IP literal, yet libcurl decodes it to 127.0.0.1 and reaches loopback with no DNS lookup while the server receives Host: 127.0.0.%31. An attacker who influences a fetched URI can therefore reach a host the application's checks excluded and read whatever the host exposes of the response. The same divergence moves Guzzle's own decisions onto a spelling the transport does not use: no_proxy selects proxy routing from the literal host, and RedirectMiddleware decides from it whether to strip Authorization and Cookie. Exploitation requires the application to build a request URI from untrusted input and to make a host decision before handing it to Guzzle. This issue is fixed in versions 7.15.2 and 8.0.1.
osv:UBUNTU-CVE-2026-69246
guzzle
Fixed versions: Not specified
guzzle
Fixed versions: Not specified
guzzle
Fixed versions: Not specified
Complete source record
{
"id": "01ca706ff07466061d3b411f44c24ff0f4dc9bc6f9747ef2b26556dcb01c8130",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-69246",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-69246",
"summary": "Guzzle is an extensible PHP HTTP client. Prior to 7.15.2 and 8.0.1, Guzzle gives a transport the request URI as text and supplies the Host header separately. The cURL handlers set CURLOPT_URL to the URI exactly as written and push that Host into CURLOPT_HTTPHEADER; StreamHandler does the same through fopen(). libcurl then parses the authority itself, percent-decoding it and, on an IDN-capable build, applying IDNA mapping, and uses the result to resolve, connect, name the TLS peer and address a proxy CONNECT, while the supplied Host suppresses the aligned one libcurl would have generated. For a URI host written as 127.0.0.%31, filter_var() rejects the host as an IP literal, yet libcurl decodes it to 127.0.0.1 and reaches loopback with no DNS lookup while the server receives Host: 127.0.0.%31. An attacker who influences a fetched URI can therefore reach a host the application's checks excluded and read whatever the host exposes of the response. The same divergence moves Guzzle's own decisions onto a spelling the transport does not use: no_proxy selects proxy routing from the literal host, and RedirectMiddleware decides from it whether to strip Authorization and Cookie. Exploitation requires the application to build a request URI from untrusted input and to make a host decision before handing it to Guzzle. This issue is fixed in versions 7.15.2 and 8.0.1.",
"evidence": "osv:UBUNTU-CVE-2026-69246",
"products": [
{
"name": {
"value": "guzzle",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.4.5-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "guzzle",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.9.2-0.1build1",
"evidence": "/affected/1/versions"
},
{
"value": "7.13.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "7.15.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "7.15.2-1",
"evidence": "/affected/1/versions"
},
{
"value": "7.15.3-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "guzzle",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.9.2-0.1",
"evidence": "/affected/2/versions"
},
{
"value": "7.9.2-0.1build1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-69246",
"aliases": [
"UBUNTU-CVE-2026-69246"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "guzzle",
"purl": "pkg:deb/ubuntu/guzzle?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"7.4.5-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-69246.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-guzzlehttp-guzzle",
"binary_version": "7.4.5-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "guzzle",
"purl": "pkg:deb/ubuntu/guzzle?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"7.9.2-0.1build1",
"7.13.1-1",
"7.15.1-1",
"7.15.2-1",
"7.15.3-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-69246.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-guzzlehttp-guzzle",
"binary_version": "7.15.3-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "guzzle",
"purl": "pkg:deb/ubuntu/guzzle?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"7.9.2-0.1",
"7.9.2-0.1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-69246.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-guzzlehttp-guzzle",
"binary_version": "7.9.2-0.1build1"
}
]
}
}
],
"modified": "2026-10-17T12:59:29.160578814Z",
"provider": "osv",
"upstream": [
"CVE-2026-69246"
],
"references": [
"https://ubuntu.com/security/CVE-2026-69246",
"https://www.cve.org/CVERecord?id=CVE-2026-69246",
"https://github.com/guzzle/guzzle/security/advisories/GHSA-v5mv-p594-2x33",
"https://github.com/guzzle/guzzle/commit/3aeea0406aab88cbbd86531313d7cebf8ae149a4",
"https://github.com/guzzle/guzzle/commit/744101956d78b7c1384d0cbf379db13e859167bf",
"https://github.com/guzzle/guzzle/pull/3907",
"https://github.com/guzzle/guzzle/pull/3908",
"https://github.com/guzzle/guzzle/releases/tag/7.15.2",
"https://github.com/guzzle/guzzle/releases/tag/8.0.1"
]
},
"related_cves": [
{
"value": "CVE-2026-69246",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 359665,
"published_at": "2026-08-03T21:16:00+00:00"
}