golang-github-grpc-ecosystem-grpc-gateway — security advisory
grpc-gateway v2.28.0 is vulnerable to Incorrect Access Control. The application processes the X-HTTP-Method-Override header in ServeMux.ServeHTTP without restricting allowed methods. When a POST request with Content-Type application/x-www-form-urlencoded includes this header, the request method is rewritten to an arbitrary attacker-supplied value before routing. This allows bypassing method-based access controls enforced by upstream proxies or WAFs.
- Products
- golang-github-grpc-ecosystem-grpc-gateway
- Affected versions
- 1.1.0+git20170127.54.6863684-1, 1.16.0-3build1, 1.16.0-4, 1.16.0-4ubuntu0.24.04.1, 1.16.0-4ubuntu0.24.04.2, 1.16.0-4ubuntu0.24.04.3, 1.2.2-1, 1.3.0-1, 1.6.4-2, 1.6.4-2build2, 2.20.0-2, 2.20.0-2build1, 2.27.2-1, 2.27.2-3
- Fixed versions
- Not specified
- CVEs
- CVE-2026-37236
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:01 UTC · Revision 1
Source evidence
grpc-gateway v2.28.0 is vulnerable to Incorrect Access Control. The application processes the X-HTTP-Method-Override header in ServeMux.ServeHTTP without restricting allowed methods. When a POST request with Content-Type application/x-www-form-urlencoded includes this header, the request method is rewritten to an arbitrary attacker-supplied value before routing. This allows bypassing method-based access controls enforced by upstream proxies or WAFs.
osv:UBUNTU-CVE-2026-37236
golang-github-grpc-ecosystem-grpc-gateway
Fixed versions: Not specified
golang-github-grpc-ecosystem-grpc-gateway
Fixed versions: Not specified
golang-github-grpc-ecosystem-grpc-gateway
Fixed versions: Not specified
golang-github-grpc-ecosystem-grpc-gateway
Fixed versions: Not specified
golang-github-grpc-ecosystem-grpc-gateway
Fixed versions: Not specified
golang-github-grpc-ecosystem-grpc-gateway
Fixed versions: Not specified
Complete source record
{
"id": "370292d65fce0d0781322506858051531ea2eb1388d4165422281ac40bcf5e97",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-37236",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-37236",
"summary": "grpc-gateway v2.28.0 is vulnerable to Incorrect Access Control. The application processes the X-HTTP-Method-Override header in ServeMux.ServeHTTP without restricting allowed methods. When a POST request with Content-Type application/x-www-form-urlencoded includes this header, the request method is rewritten to an arbitrary attacker-supplied value before routing. This allows bypassing method-based access controls enforced by upstream proxies or WAFs.",
"evidence": "osv:UBUNTU-CVE-2026-37236",
"products": [
{
"name": {
"value": "golang-github-grpc-ecosystem-grpc-gateway",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.0+git20170127.54.6863684-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.2.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.0-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "golang-github-grpc-ecosystem-grpc-gateway",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.4-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "golang-github-grpc-ecosystem-grpc-gateway",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.4-2build2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "golang-github-grpc-ecosystem-grpc-gateway",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.16.0-3build1",
"evidence": "/affected/3/versions"
},
{
"value": "1.16.0-4",
"evidence": "/affected/3/versions"
},
{
"value": "1.16.0-4ubuntu0.24.04.1",
"evidence": "/affected/3/versions"
},
{
"value": "1.16.0-4ubuntu0.24.04.2",
"evidence": "/affected/3/versions"
},
{
"value": "1.16.0-4ubuntu0.24.04.3",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "golang-github-grpc-ecosystem-grpc-gateway",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.20.0-2build1",
"evidence": "/affected/4/versions"
},
{
"value": "2.27.2-1",
"evidence": "/affected/4/versions"
},
{
"value": "2.27.2-3",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "golang-github-grpc-ecosystem-grpc-gateway",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.20.0-2",
"evidence": "/affected/5/versions"
},
{
"value": "2.20.0-2build1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2026-37236",
"aliases": [
"UBUNTU-CVE-2026-37236"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-grpc-ecosystem-grpc-gateway",
"purl": "pkg:deb/ubuntu/golang-github-grpc-ecosystem-grpc-gateway?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.1.0+git20170127.54.6863684-1",
"1.2.2-1",
"1.3.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37236.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-grpc-ecosystem-grpc-gateway-dev",
"binary_version": "1.3.0-1"
},
{
"binary_name": "golang-grpc-gateway",
"binary_version": "1.3.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-grpc-ecosystem-grpc-gateway",
"purl": "pkg:deb/ubuntu/golang-github-grpc-ecosystem-grpc-gateway?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.6.4-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37236.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-grpc-ecosystem-grpc-gateway-dev",
"binary_version": "1.6.4-2"
},
{
"binary_name": "golang-grpc-gateway",
"binary_version": "1.6.4-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-grpc-ecosystem-grpc-gateway",
"purl": "pkg:deb/ubuntu/golang-github-grpc-ecosystem-grpc-gateway?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.6.4-2build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37236.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-grpc-ecosystem-grpc-gateway-dev",
"binary_version": "1.6.4-2build2"
},
{
"binary_name": "golang-grpc-gateway",
"binary_version": "1.6.4-2build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-grpc-ecosystem-grpc-gateway",
"purl": "pkg:deb/ubuntu/golang-github-grpc-ecosystem-grpc-gateway?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.16.0-3build1",
"1.16.0-4",
"1.16.0-4ubuntu0.24.04.1",
"1.16.0-4ubuntu0.24.04.2",
"1.16.0-4ubuntu0.24.04.3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37236.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-grpc-ecosystem-grpc-gateway-dev",
"binary_version": "1.16.0-4ubuntu0.24.04.3"
},
{
"binary_name": "golang-grpc-gateway",
"binary_version": "1.16.0-4ubuntu0.24.04.3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-grpc-ecosystem-grpc-gateway",
"purl": "pkg:deb/ubuntu/golang-github-grpc-ecosystem-grpc-gateway?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.20.0-2build1",
"2.27.2-1",
"2.27.2-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37236.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-grpc-ecosystem-grpc-gateway-dev",
"binary_version": "2.27.2-3"
},
{
"binary_name": "golang-grpc-gateway",
"binary_version": "2.27.2-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-grpc-ecosystem-grpc-gateway",
"purl": "pkg:deb/ubuntu/golang-github-grpc-ecosystem-grpc-gateway?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.20.0-2",
"2.20.0-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37236.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-grpc-ecosystem-grpc-gateway-dev",
"binary_version": "2.20.0-2build1"
},
{
"binary_name": "golang-grpc-gateway",
"binary_version": "2.20.0-2build1"
}
]
}
}
],
"modified": "2026-10-17T13:00:02.585938369Z",
"provider": "osv",
"upstream": [
"CVE-2026-37236"
],
"references": [
"https://ubuntu.com/security/CVE-2026-37236",
"https://www.cve.org/CVERecord?id=CVE-2026-37236",
"https://github.com/grpc-ecosystem/grpc-gateway/commit/72123cd4f32545f6e1376873f412dcdcbcf29acc",
"https://github.com/grpc-ecosystem/grpc-gateway",
"https://s00me00ne.com/cve/cve-2026-37236/"
]
},
"related_cves": [
{
"value": "CVE-2026-37236",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 360176,
"published_at": "2026-08-28T16:17:00+00:00"
}