ubuntu-cve-2026-33186
Vulnerability from osv_ubuntu
Published
2026-03-20 23:16
Modified
2026-06-30 16:20
Summary
Details

gRPC-Go is the Go language implementation of gRPC. Versions prior to 1.79.3 have an authorization bypass resulting from improper input validation of the HTTP/2 :path pseudo-header. The gRPC-Go server was too lenient in its routing logic, accepting requests where the :path omitted the mandatory leading slash (e.g., Service/Method instead of /Service/Method). While the server successfully routed these requests to the correct handler, authorization interceptors (including the official grpc/authz package) evaluated the raw, non-canonical path string. Consequently, "deny" rules defined using canonical paths (starting with /) failed to match the incoming request, allowing it to bypass the policy if a fallback "allow" rule was present. This affects gRPC-Go servers that use path-based authorization interceptors, such as the official RBAC implementation in google.golang.org/grpc/authz or custom interceptors relying on info.FullMethod or grpc.Method(ctx); AND that have a security policy contains specific "deny" rules for canonical paths but allows other requests by default (a fallback "allow" rule). The vulnerability is exploitable by an attacker who can send raw HTTP/2 frames with malformed :path headers directly to the gRPC server. The fix in version 1.79.3 ensures that any request with a :path that does not start with a leading slash is immediately rejected with a codes.Unimplemented error, preventing it from reaching authorization interceptors or handlers with a non-canonical path string. While upgrading is the most secure and recommended path, users can mitigate the vulnerability using one of the following methods: Use a validating interceptor (recommended mitigation); infrastructure-level normalization; and/or policy hardening.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-google-grpc-dev",
            "binary_version": "0.0~git20151002.0.3e7b7e5-1"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "golang-google-grpc",
        "purl": "pkg:deb/ubuntu/golang-google-grpc@0.0~git20151002.0.3e7b7e5-1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.0~git20150514.0.f5ebd86-1",
        "0.0~git20150514.0.f5ebd86-2",
        "0.0~git20151002.0.3e7b7e5-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "google-guest-agent",
            "binary_version": "20240716.00-0ubuntu1~16.04.0+esm3"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "google-guest-agent",
        "purl": "pkg:deb/ubuntu/google-guest-agent@20240716.00-0ubuntu1~16.04.0+esm3?arch=source\u0026distro=esm-apps-legacy/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20201217.02-0ubuntu1~16.04.0",
        "20230426.00-0ubuntu2~16.04.3",
        "20231004.02-0ubuntu1~16.04.1",
        "20231004.02-0ubuntu1~16.04.2",
        "20240716.00-0ubuntu1~16.04.0",
        "20240716.00-0ubuntu1~16.04.0+esm1",
        "20240716.00-0ubuntu1~16.04.0+esm2",
        "20240716.00-0ubuntu1~16.04.0+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-google-grpc-dev",
            "binary_version": "1.6.0-3ubuntu0.18.04.1"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "golang-google-grpc",
        "purl": "pkg:deb/ubuntu/golang-google-grpc@1.6.0-3ubuntu0.18.04.1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.4-1",
        "1.6.0-2",
        "1.6.0-3",
        "1.6.0-3ubuntu0.18.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "google-guest-agent",
            "binary_version": "20241011.01-0ubuntu1~18.04.0+esm3"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "google-guest-agent",
        "purl": "pkg:deb/ubuntu/google-guest-agent@20241011.01-0ubuntu1~18.04.0+esm3?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20201217.02-0ubuntu1~18.04.0",
        "20210414.00-0ubuntu1~18.04.0",
        "20210629.00-0ubuntu1~18.04.1",
        "20220622.00-0ubuntu2~18.04.0",
        "20220622.00-0ubuntu2~18.04.1",
        "20230426.00-0ubuntu2~18.04.0",
        "20231004.02-0ubuntu1~18.04.2",
        "20231004.02-0ubuntu1~18.04.3",
        "20240716.00-0ubuntu1~18.04.0",
        "20241011.01-0ubuntu1~18.04.0",
        "20241011.01-0ubuntu1~18.04.0+esm1",
        "20241011.01-0ubuntu1~18.04.0+esm2",
        "20241011.01-0ubuntu1~18.04.0+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "google-guest-agent",
            "binary_version": "20250116.00-0ubuntu1~20.04.0+esm3"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "google-guest-agent",
        "purl": "pkg:deb/ubuntu/google-guest-agent@20250116.00-0ubuntu1~20.04.0+esm3?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20201217.02-0ubuntu1~20.04.0",
        "20210414.00-0ubuntu1~20.04.0",
        "20210629.00-0ubuntu1~20.04.0",
        "20220622.00-0ubuntu2~20.04.0",
        "20220622.00-0ubuntu2~20.04.2",
        "20230426.00-0ubuntu2~20.04.0",
        "20231004.02-0ubuntu1~20.04.1",
        "20231004.02-0ubuntu1~20.04.2",
        "20231004.02-0ubuntu1~20.04.3",
        "20231004.02-0ubuntu1~20.04.4",
        "20240716.00-0ubuntu1~20.04.0",
        "20241011.01-0ubuntu1~20.04.1",
        "20250116.00-0ubuntu1~20.04.0",
        "20250116.00-0ubuntu1~20.04.0+esm1",
        "20250116.00-0ubuntu1~20.04.0+esm2",
        "20250116.00-0ubuntu1~20.04.0+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-google-grpc-dev",
            "binary_version": "1.22.1-1ubuntu1"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "golang-google-grpc",
        "purl": "pkg:deb/ubuntu/golang-google-grpc@1.22.1-1ubuntu1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.22.1-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-google-grpc-dev",
            "binary_version": "1.29.1-0ubuntu1"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "golang-google-grpc",
        "purl": "pkg:deb/ubuntu/golang-google-grpc@1.29.1-0ubuntu1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.29.1-0ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "google-guest-agent",
            "binary_version": "20250116.00-0ubuntu1~22.04.3"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "google-guest-agent",
        "purl": "pkg:deb/ubuntu/google-guest-agent@20250116.00-0ubuntu1~22.04.3?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20210629.00-0ubuntu1",
        "20210629.00-0ubuntu2",
        "20220104.00-0ubuntu1",
        "20220104.00-0ubuntu2",
        "20220622.00-0ubuntu2~22.04.0",
        "20220622.00-0ubuntu2~22.04.1",
        "20230426.00-0ubuntu2~22.04.0",
        "20231004.02-0ubuntu1~22.04.1",
        "20231004.02-0ubuntu1~22.04.2",
        "20231004.02-0ubuntu1~22.04.3",
        "20231004.02-0ubuntu1~22.04.4",
        "20231004.02-0ubuntu1~22.04.5",
        "20240716.00-0ubuntu1~22.04.0",
        "20241011.01-0ubuntu1~22.04.0",
        "20250116.00-0ubuntu1~22.04.0",
        "20250116.00-0ubuntu1~22.04.1",
        "20250116.00-0ubuntu1~22.04.2",
        "20250116.00-0ubuntu1~22.04.3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "google-guest-agent",
            "binary_version": "20250116.00-0ubuntu1~24.04.4"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "google-guest-agent",
        "purl": "pkg:deb/ubuntu/google-guest-agent@20250116.00-0ubuntu1~24.04.4?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20230426.00-0ubuntu3",
        "20231004.02-0ubuntu1",
        "20231004.02-0ubuntu3",
        "20240213.00-0ubuntu1",
        "20240213.00-0ubuntu2",
        "20240213.00-0ubuntu3",
        "20240213.00-0ubuntu3.1",
        "20240213.00-0ubuntu3.2",
        "20240716.00-0ubuntu1~24.04.0",
        "20240716.00-0ubuntu1~24.04.1",
        "20241011.01-0ubuntu1~24.04.0",
        "20250116.00-0ubuntu1~24.04.0",
        "20250116.00-0ubuntu1~24.04.1",
        "20250116.00-0ubuntu1~24.04.2",
        "20250116.00-0ubuntu1~24.04.3",
        "20250116.00-0ubuntu1~24.04.4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-google-grpc-dev",
            "binary_version": "1.38.0+really1.33.3-1ubuntu0.24.04.3+esm2"
          },
          {
            "binary_name": "protoc-gen-go-grpc",
            "binary_version": "1.38.0+really1.33.3-1ubuntu0.24.04.3+esm2"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "golang-google-grpc",
        "purl": "pkg:deb/ubuntu/golang-google-grpc@1.38.0+really1.33.3-1ubuntu0.24.04.3+esm2?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.38.0+really1.33.3-1build1",
        "1.38.0+really1.33.3-1ubuntu0.24.04.1",
        "1.38.0+really1.33.3-1ubuntu0.24.04.2",
        "1.38.0+really1.33.3-1ubuntu0.24.04.2+esm1",
        "1.38.0+really1.33.3-1ubuntu0.24.04.3",
        "1.38.0+really1.33.3-1ubuntu0.24.04.3+esm1",
        "1.38.0+really1.33.3-1ubuntu0.24.04.3+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-google-grpc-dev",
            "binary_version": "1.64.0-7"
          },
          {
            "binary_name": "protoc-gen-go-grpc",
            "binary_version": "1.64.0-7"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "golang-google-grpc",
        "purl": "pkg:deb/ubuntu/golang-google-grpc@1.64.0-7?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.64.0-6",
        "1.64.0-7"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "google-guest-agent",
            "binary_version": "20250506.01-0ubuntu1.2"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "google-guest-agent",
        "purl": "pkg:deb/ubuntu/google-guest-agent@20250506.01-0ubuntu1.2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20250116.00-0ubuntu2",
        "20250506.01-0ubuntu1",
        "20250506.01-0ubuntu1.1",
        "20250506.01-0ubuntu1.2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-google-grpc-dev",
            "binary_version": "1.66.3-2"
          },
          {
            "binary_name": "protoc-gen-go-grpc",
            "binary_version": "1.66.3-2"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "golang-google-grpc",
        "purl": "pkg:deb/ubuntu/golang-google-grpc@1.66.3-2?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.64.0-7",
        "1.66.3-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "google-guest-agent",
            "binary_version": "20250506.01-0ubuntu2.1"
          }
        ],
        "priority_reason": "bruce\u003e Remote attacker can bypass security policies"
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "google-guest-agent",
        "purl": "pkg:deb/ubuntu/google-guest-agent@20250506.01-0ubuntu2.1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20250506.01-0ubuntu1",
        "20250506.01-0ubuntu2",
        "20250506.01-0ubuntu2.1"
      ]
    }
  ],
  "aliases": [],
  "details": "gRPC-Go is the Go language implementation of gRPC. Versions prior to 1.79.3 have an authorization bypass resulting from improper input validation of the HTTP/2 `:path` pseudo-header. The gRPC-Go server was too lenient in its routing logic, accepting requests where the `:path` omitted the mandatory leading slash (e.g., `Service/Method` instead of `/Service/Method`). While the server successfully routed these requests to the correct handler, authorization interceptors (including the official `grpc/authz` package) evaluated the raw, non-canonical path string. Consequently, \"deny\" rules defined using canonical paths (starting with `/`) failed to match the incoming request, allowing it to bypass the policy if a fallback \"allow\" rule was present. This affects gRPC-Go servers that use path-based authorization interceptors, such as the official RBAC implementation in `google.golang.org/grpc/authz` or custom interceptors relying on `info.FullMethod` or `grpc.Method(ctx)`; AND that have a security policy contains specific \"deny\" rules for canonical paths but allows other requests by default (a fallback \"allow\" rule). The vulnerability is exploitable by an attacker who can send raw HTTP/2 frames with malformed `:path` headers directly to the gRPC server. The fix in version 1.79.3 ensures that any request with a `:path` that does not start with a leading slash is immediately rejected with a `codes.Unimplemented` error, preventing it from reaching authorization interceptors or handlers with a non-canonical path string. While upgrading is the most secure and recommended path, users can mitigate the vulnerability using one of the following methods: Use a validating interceptor (recommended mitigation); infrastructure-level normalization; and/or policy hardening.",
  "id": "UBUNTU-CVE-2026-33186",
  "modified": "2026-06-30T16:20:54Z",
  "published": "2026-03-20T23:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-33186"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-33186"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/grpc/grpc-go/security/advisories/GHSA-p77j-4mvh-x3m3"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "high",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-33186"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…