8.2high
KEDA has Arbitrary File Read via Insufficient Path Validation in HashiCorp Vault Service Account Credential
- Severity
- 8.2high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-c4p6-qg4m-9jmrGO-2025-4257
Description
KEDA is a Kubernetes-based Event Driven Autoscaling component. Prior to versions 2.17.3 and 2.18.3, an Arbitrary File Read vulnerability has been identified in KEDA, potentially affecting any KEDA resource that uses TriggerAuthentication to configure HashiCorp Vault authentication. The vulnerability stems from an incorrect or insufficient path validation when loading the Service Account Token specified in spec.hashiCorpVault.credential.serviceAccount. An attacker with permissions to create or modify a TriggerAuthentication resource can exfiltrate the content of any file from the node's filesystem (where the KEDA pod resides) by directing the file's content to a server under their control, as part of the Vault authentication request. The potential impact includes the exfiltration of sensitive system information, such as secrets, keys, or the content of files like /etc/passwd. This issue has been patched in versions 2.17.3 and 2.18.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kedacore keda | < 2.17.3, >= 2.18.0, < 2.18.3 | CVE List |
| github.com/kedacore/keda/v2 (Go) | from 2.18.0 before 2.18.3, before 2.17.3 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/kedacore/keda (Go) | all versions | Go Vulnerability Database |
All scores
| GitHub_M | 8.2high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N |
Classification
What each source says
CVE List
KEDA is a Kubernetes-based Event Driven Autoscaling component. Prior to versions 2.17.3 and 2.18.3, an Arbitrary File Read vulnerability has been identified in KEDA, potentially affecting any KEDA resource that uses TriggerAuthentication to configure HashiCorp Vault authentication. The vulnerability stems from an incorrect or insufficient path validation when loading the Service Account Token specified in spec.hashiCorpVault.credential.serviceAccount. An attacker with permissions to create or modify a TriggerAuthentication resource can exfiltrate the content of any file from the node's filesystem (where the KEDA pod resides) by directing the file's content to a server under their control, as part of the Vault authentication request. The potential impact includes the exfiltration of sensitive system information, such as secrets, keys, or the content of files like /etc/passwd. This issue has been patched in versions 2.17.3 and 2.18.3.
GitHub Advisory Database
Impact
An Arbitrary File Read vulnerability has been identified in KEDA, potentially affecting any KEDA resource that uses TriggerAuthentication to configure HashiCorp Vault authentication.
The vulnerability stems from an incorrect or insufficient path validation when loading the Service Account Token specified in spec.hashiCorpVault.credential.serviceAccount.
An attacker with permissions to create or modify a TriggerAuthentication resource can exfiltrate the content of any file from the node's filesystem (where the KEDA pod resides) by directing the file's content to a server under their control, as part of the Vault authentication request.
The potential impact includes the exfiltration of sensitive system information, such as secrets, keys, or the content of files like /etc/passwd.
Patches
The problem has been patched in v2.17.3 and 2.18.3 as well as in main branch.
Workarounds
The only effective workaround is the strict restriction of permissions for creating and modifying TriggerAuthentication resources within the Kubernetes cluster.
Only trusted and authorized users should have create or update permissions on the TriggerAuthentication resource.
This limits an attacker's ability to configure a malicious TriggerAuthentication with an arbitrary path.
Is my project affected?
If it execute s
kubectl get deploy keda-operator -n keda -o jsonpath="{.spec.template.spec.containers[0].image}"
and the version is not 2.17.3, 2.18.3 or >= 2.19.0, that version is affected.
Go Vulnerability Database
KEDA has Arbitrary File Read via Insufficient Path Validation in HashiCorp Vault Service Account Credential in github.com/kedacore/keda
NVD (es)
KEDA es un componente de autoescalado basado en eventos para Kubernetes. Versiones anteriores a las 2.17.3 y 2.18.3, se ha identificado una vulnerabilidad de lectura arbitraria de archivos en KEDA, que podría afectar a cualquier recurso de KEDA que utilice TriggerAuthentication para configurar la autenticación de HashiCorp Vault. La vulnerabilidad se origina en una validación de ruta incorrecta o insuficiente al cargar el Token de Cuenta de Servicio especificado en spec.hashiCorpVault.credential.serviceAccount. Un atacante con permisos para crear o modificar un recurso TriggerAuthentication puede exfiltrar el contenido de cualquier archivo del sistema de archivos del nodo (donde reside el pod de KEDA) dirigiendo el contenido del archivo a un servidor bajo su control, como parte de la solicitud de autenticación de Vault. El impacto potencial incluye la exfiltración de información sensible del sistema, como secretos, claves o el contenido de archivos como /etc/p4ssd. Este problema ha sido parcheado en las versiones 2.17.3 y 2.18.3.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68476 changed 2025-12-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-c4p6-qg4m-9jmr changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-4257 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2025-68476 changed 2026-09-25 | Public domain |