{"id":"CVE-2025-68476","aliases":["CVE-2025-68476","GHSA-c4p6-qg4m-9jmr","GO-2025-4257"],"related":["CGA-g57w-xvwq-gf46"],"kind":"vulnerability","state":"published","title":"KEDA has Arbitrary File Read via Insufficient Path Validation in HashiCorp Vault Service Account Credential","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nAn Arbitrary File Read vulnerability has been identified in KEDA, potentially affecting any KEDA resource that uses TriggerAuthentication to configure HashiCorp Vault authentication.\n\nThe vulnerability stems from an incorrect or insufficient path validation when loading the Service Account Token specified in spec.hashiCorpVault.credential.serviceAccount.\n\nAn 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.\n\nThe potential impact includes the exfiltration of sensitive system information, such as secrets, keys, or the content of files like /etc/passwd.\n\n### Patches\nThe problem has been patched in v2.17.3 and 2.18.3 as well as in main branch.\n\n### Workarounds\nThe only effective workaround is the strict restriction of permissions for creating and modifying TriggerAuthentication resources within the Kubernetes cluster.\n\nOnly trusted and authorized users should have create or update permissions on the TriggerAuthentication resource.\n\nThis limits an attacker's ability to configure a malicious TriggerAuthentication with an arbitrary path.\n\n### Is my project affected?\nIf it execute s\n```bash\nkubectl get deploy keda-operator -n keda -o jsonpath=\"{.spec.template.spec.containers[0].image}\"\n```\nand the version is not 2.17.3, 2.18.3 or >= 2.19.0, that version is affected.","format":"markdown","source":"ghsa"},{"lang":"en","text":"KEDA has Arbitrary File Read via Insufficient Path Validation in HashiCorp Vault Service Account Credential in github.com/kedacore/keda","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-12-22T20:08:24.000Z","modified":"2026-09-25T23:10:00.463Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-22","CWE-863"],"affected":[{"ranges":[{"version":"< 2.17.3","status":"affected"},{"version":">= 2.18.0, < 2.18.3","status":"affected"}],"vendor":"kedacore","product":"keda","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.18.0","status":"affected","fixed":"2.18.3"}],"ecosystem":"Go","package":"github.com/kedacore/keda/v2","purl":"pkg:golang/github.com/kedacore/keda/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.17.3"}],"ecosystem":"Go","package":"github.com/kedacore/keda/v2","purl":"pkg:golang/github.com/kedacore/keda/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/kedacore/keda","purl":"pkg:golang/github.com/kedacore/keda","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.17.3"},{"type":"semver","introduced":"2.18.0","status":"affected","fixed":"2.18.3"}],"ecosystem":"Go","package":"github.com/kedacore/keda/v2","purl":"pkg:golang/github.com/kedacore/keda/v2","source":"go"}],"references":[{"url":"https://github.com/kedacore/keda/security/advisories/GHSA-c4p6-qg4m-9jmr","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/kedacore/keda/commit/15c5677f65f809b9b6b59a52f4cf793db0a510fd","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68476","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/kedacore/keda","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-12-22T21:55:53.031Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68476","url":"https://www.cve.org/CVERecord?id=CVE-2025-68476","licence":"CVE Terms of Use","modified":"2025-12-22T21:56:03.904Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c4p6-qg4m-9jmr","url":"https://github.com/advisories/GHSA-c4p6-qg4m-9jmr","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:31.857Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4257","url":"https://pkg.go.dev/vuln/GO-2025-4257","licence":"CC-BY-4.0","modified":"2026-02-04T02:24:34.709Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68476","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68476","licence":"Public domain","modified":"2026-09-25T23:10:00.463Z"}],"updatedAt":"2026-11-25T22:59:09.803Z","epss":{"score":0.0052,"percentile":0.45665,"date":"2026-12-01T12:00:22.000Z"}}