# CVE-2025-68476: KEDA has Arbitrary File Read via Insufficient Path Validation in HashiCorp Vault Service Account Credential

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: None; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.73% (percentile 50, 2026-11-26)
- **CWE:** CWE-22, CWE-863
- **Aliases:** GHSA-c4p6-qg4m-9jmr, GO-2025-4257
- **Published:** 2025-12-22T20:08:24.000Z
- **Modified:** 2026-09-25T23:10:00.463Z

## Who should check

- Projects that depend on Go package github.com/kedacore/keda/v2 (\>= 2.18.0, \< 2.18.3)
- Projects that depend on Go package github.com/kedacore/keda
- Anyone running kedacore keda \< 2.17.3; \>= 2.18.0, \< 2.18.3

## 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 and fixed versions

- Go `github.com/kedacore/keda/v2`: affected \>= 2.18.0, \< 2.18.3; fixed 2.18.3, 2.17.3 (osv)
- Go `github.com/kedacore/keda`: affected see advisory; fixed no fix listed yet (osv)
- kedacore keda: \< 2.17.3; \>= 2.18.0, \< 2.18.3 (cvelist)

## Mitigation

- Upgrade github.com/kedacore/keda/v2 to one of 2.18.3, 2.17.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68476. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68476.md
Affected: github.com/kedacore/keda/v2 >= 2.18.0, < 2.18.3; github.com/kedacore/keda
Fixed in: 2.18.3, 2.17.3

Steps:
1. Search this machine and project for github.com/kedacore/keda/v2 (Go), github.com/kedacore/keda (Go), kedacore keda: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68476 being exploited?

There is no confirmed exploitation: CVE-2025-68476 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.73% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68476?

High: CVSS 8.2 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-68476?

github.com/kedacore/keda/v2 \>= 2.18.0, \< 2.18.3; github.com/kedacore/keda.

### Is there a fix for CVE-2025-68476?

Yes. Fixed in 2.18.3, 2.17.3. Upgrade github.com/kedacore/keda/v2 to one of 2.18.3, 2.17.3 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-68476?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/kedacore/keda/security/advisories/GHSA-c4p6-qg4m-9jmr>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-68476>
- patch: <https://github.com/kedacore/keda/commit/15c5677f65f809b9b6b59a52f4cf793db0a510fd>
- other: <https://github.com/kedacore/keda>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68476>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-c4p6-qg4m-9jmr> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-4257> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-68476> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68476>
