{"id":"UBUNTU-CVE-2026-37236","details":"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.","modified":"2026-09-03T23:05:43.101882448Z","published":"2026-08-28T16:17:00Z","upstream":["CVE-2026-37236"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-37236"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-37236"},{"type":"REPORT","url":"https://github.com/grpc-ecosystem/grpc-gateway/commit/72123cd4f32545f6e1376873f412dcdcbcf29acc"},{"type":"REPORT","url":"https://github.com/grpc-ecosystem/grpc-gateway"},{"type":"REPORT","url":"https://github.com/grpc-ecosystem/grpc-gateway/commit/72123cd4f32545f6e1376873f412dcdcbcf29acc"},{"type":"REPORT","url":"https://s00me00ne.com/cve/cve-2026-37236/"}],"affected":[{"package":{"name":"golang-github-grpc-ecosystem-grpc-gateway","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/golang-github-grpc-ecosystem-grpc-gateway?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0+git20170127.54.6863684-1","1.2.2-1","1.3.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.0-1","binary_name":"golang-github-grpc-ecosystem-grpc-gateway-dev"},{"binary_name":"golang-grpc-gateway","binary_version":"1.3.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37236.json"}},{"package":{"name":"golang-github-grpc-ecosystem-grpc-gateway","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-grpc-ecosystem-grpc-gateway?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.4-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6.4-2","binary_name":"golang-github-grpc-ecosystem-grpc-gateway-dev"},{"binary_name":"golang-grpc-gateway","binary_version":"1.6.4-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37236.json"}},{"package":{"name":"golang-github-grpc-ecosystem-grpc-gateway","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-grpc-ecosystem-grpc-gateway?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.4-2build2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6.4-2build2","binary_name":"golang-github-grpc-ecosystem-grpc-gateway-dev"},{"binary_name":"golang-grpc-gateway","binary_version":"1.6.4-2build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37236.json"}},{"package":{"name":"golang-github-grpc-ecosystem-grpc-gateway","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-grpc-ecosystem-grpc-gateway?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37236.json"}},{"package":{"name":"golang-github-grpc-ecosystem-grpc-gateway","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-grpc-ecosystem-grpc-gateway?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.20.0-2","2.20.0-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.20.0-2build1","binary_name":"golang-github-grpc-ecosystem-grpc-gateway-dev"},{"binary_name":"golang-grpc-gateway","binary_version":"2.20.0-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37236.json"}}],"schema_version":"1.9.0","severity":[{"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"}]}