CVE-2025-68476
JSON

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 packageVersionsReported by
kedacore keda< 2.17.3, >= 2.18.0, < 2.18.3CVE List
github.com/kedacore/keda/v2 (Go)from 2.18.0 before 2.18.3, before 2.17.3GitHub Advisory Database, Go Vulnerability Database
github.com/kedacore/keda (Go)all versionsGo Vulnerability Database

All scores

GitHub_M8.2high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS: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

CWE-22CWE-863

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2025-68476 changed 2025-12-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-c4p6-qg4m-9jmr changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4257 changed 2026-02-04CC-BY-4.0
NVDCVE-2025-68476 changed 2026-09-25Public domain