Skip to content
Heist/ feed
Back to feed
Medium

kubewarden-controller has an Information leak via AdmissionPolicyGroup Resource

Type: advisorySources: OSV

kubewarden-controller is a Kubernetes controller that allows you to dynamically register Kubewarden admission policies. The policy group feature, added to by the 1.17.0 release. By being namespaced, the AdmissionPolicyGroup has a well constrained impact on cluster resources. Hence, it’s considered safe to allow non-admin users to create and manage these resources in the namespaces they own. Kubewarden policies can be allowed to query the Kubernetes API at evaluation time; these types of policies are called “context aware“. Context aware policies can perform list and get operations against a Kubernetes cluster. The queries are done using the ServiceAccount of the Policy Server instance that hosts the policy. That means that access to the cluster is determined by the RBAC rules that apply to that ServiceAccount. The AdmissionPolicyGroup CRD allowed the deployment of context aware policies. This could allow an attacker to obtain information about resources that are out of their reach, by leveraging a higher access to the cluster granted to the ServiceAccount token used to run the policy. The impact of this vulnerability depends on the privileges that have been granted to the ServiceAccount used to run the Policy Server and assumes that users are using the recommended best practices of keeping the Policy Server's ServiceAccount least privileged. By default, the Kubewarden helm chart grants access to the following resources (cluster wide) only: Namespace, Pod, Deployment and Ingre

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-24784
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 05:25 UTC · Revision 1

Source evidence

kubewarden-controller has an Information leak via AdmissionPolicyGroup Resource

core-osv · Original source

Published 30 Jan 2025, 15:39 UTC

kubewarden-controller is a Kubernetes controller that allows you to dynamically register Kubewarden admission policies. The policy group feature, added to by the 1.17.0 release. By being namespaced, the AdmissionPolicyGroup has a well constrained impact on cluster resources. Hence, it’s considered safe to allow non-admin users to create and manage these resources in the namespaces they own. Kubewarden policies can be allowed to query the Kubernetes API at evaluation time; these types of policies are called “context aware“. Context aware policies can perform list and get operations against a Kubernetes cluster. The queries are done using the ServiceAccount of the Policy Server instance that hosts the policy. That means that access to the cluster is determined by the RBAC rules that apply to that ServiceAccount. The AdmissionPolicyGroup CRD allowed the deployment of context aware policies. This could allow an attacker to obtain information about resources that are out of their reach, by leveraging a higher access to the cluster granted to the ServiceAccount token used to run the policy. The impact of this vulnerability depends on the privileges that have been granted to the ServiceAccount used to run the Policy Server and assumes that users are using the recommended best practices of keeping the Policy Server's ServiceAccount least privileged. By default, the Kubewarden helm chart grants access to the following resources (cluster wide) only: Namespace, Pod, Deployment and Ingre

osv:CVE-2025-24784
Complete source record
{
  "id": "9d4171e352cc069354296422a7e765ba4a7d2de75d4ad3943e3bfa2b8cc51a24",
  "url": "https://osv.dev/vulnerability/CVE-2025-24784",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "kubewarden-controller has an Information leak via AdmissionPolicyGroup Resource",
    "summary": "kubewarden-controller is a Kubernetes controller that allows you to dynamically register Kubewarden admission policies. The policy group feature, added to by the 1.17.0 release. By being namespaced, the AdmissionPolicyGroup has a well constrained impact on cluster resources. Hence, it’s considered safe to allow non-admin users to create and manage these resources in the namespaces they own. Kubewarden policies can be allowed to query the Kubernetes API at evaluation time; these types of policies are called “context aware“. Context aware policies can perform list and get operations against a Kubernetes cluster. The queries are done using the ServiceAccount of the Policy Server instance that hosts the policy. That means that access to the cluster is determined by the RBAC rules that apply to that ServiceAccount. The AdmissionPolicyGroup CRD allowed the deployment of context aware policies. This could allow an attacker to obtain information about resources that are out of their reach, by leveraging a higher access to the cluster granted to the ServiceAccount token used to run the policy. The impact of this vulnerability depends on the privileges that have been granted to the ServiceAccount used to run the Policy Server and assumes that users are using the recommended best practices of keeping the Policy Server's ServiceAccount least privileged. By default, the Kubewarden helm chart grants access to the following resources (cluster wide) only: Namespace, Pod, Deployment and Ingre",
    "evidence": "osv:CVE-2025-24784",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-24784",
      "aliases": [
        "CVE-2025-24784",
        "GHSA-756x-m4mj-q96c",
        "GO-2025-3435"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/kubewarden/adm-controller",
              "type": "GIT",
              "events": [
                {
                  "introduced": "695b4332cf78ec17e5f3adefeb4959eb9fe847ae"
                },
                {
                  "fixed": "2548ba11bc17eb989434191e89a432726dd56dd0"
                },
                {
                  "fixed": "51a88dfbb4c090ce0f76a22d98106518e0824d0b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.17.0"
                      },
                      {
                        "fixed": "1.21.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "51a88dfbb4c090ce0f76a22d98106518e0824d0b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.21.0-rc1",
            "v1.20.1",
            "v1.20.0",
            "v1.20.0-rc1",
            "v1.19.0",
            "v1.19.0-rc1",
            "v1.19.0-beta1",
            "v1.18.0",
            "v1.18.0-rc1",
            "v1.18.0-beta1",
            "v1.17.1",
            "v1.17.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-24784.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.102548352Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24784.json",
        "https://github.com/kubewarden/kubewarden-controller/security/advisories/GHSA-756x-m4mj-q96c",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-24784",
        "https://github.com/kubewarden/kubewarden-controller/commit/51a88dfbb4c090ce0f76a22d98106518e0824d0b"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-285"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24784.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-24784",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518362,
  "published_at": "2025-01-30T15:39:37.561+00:00"
}