A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-68476

CVE-2025-68476: KEDA File Read Vulnerability

CVE-2025-68476 is an arbitrary file read vulnerability in KEDA's HashiCorp Vault authentication that allows attackers to exfiltrate sensitive files from the node filesystem. This article covers technical details, affected versions, and patches.

Published: June 2, 2026

CVE-2025-68476 Overview

CVE-2025-68476 is an arbitrary file read vulnerability in Kubernetes Event-Driven Autoscaling (KEDA), a Kubernetes-based autoscaling component. The flaw affects any KEDA resource that uses TriggerAuthentication to configure HashiCorp Vault authentication. It stems from 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 contents of any file on the node hosting the KEDA pod. The issue was patched in versions 2.17.3 and 2.18.3.

Critical Impact

Attackers can exfiltrate sensitive files such as /etc/passwd, secrets, and cryptographic keys from the node filesystem where the KEDA pod resides by redirecting file contents to an attacker-controlled Vault endpoint.

Affected Products

  • KEDA versions prior to 2.17.3
  • KEDA versions prior to 2.18.3
  • Kubernetes clusters using KEDA TriggerAuthentication with HashiCorp Vault

Discovery Timeline

  • 2025-12-22 - CVE-2025-68476 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-68476

Vulnerability Analysis

The vulnerability is classified as a path traversal flaw [CWE-22] affecting KEDA's HashiCorp Vault integration. KEDA reads the Service Account Token from a path supplied through the TriggerAuthentication custom resource. The handler in pkg/scaling/resolver/hashicorpvault_handler.go called os.ReadFile directly on the user-supplied path without validating that the file is a legitimate Kubernetes projected service account token. This allowed any file readable by the KEDA pod's process to be loaded and forwarded to the configured Vault server.

Root Cause

The root cause is missing validation of the serviceAccount field in the Vault credential specification. The code trusted the caller-supplied file path and forwarded the file contents as authentication material to the Vault endpoint defined in the same resource. There was no check that the loaded file contained a valid JWT or originated from the expected projected service account mount path.

Attack Vector

An attacker who can create or modify a TriggerAuthentication resource in any namespace where KEDA operates sets spec.hashiCorpVault.credential.serviceAccount to an arbitrary file path such as /etc/passwd or a path containing Kubernetes secrets. The attacker also configures the Vault address to a server they control. When KEDA processes the resource, it reads the target file and sends its contents to the attacker's server as part of the Vault authentication request.

go
// Patch excerpt: pkg/scaling/resolver/k8s_validator.go
package resolver

import (
	"fmt"
	"os"
	"strings"

	"github.com/golang-jwt/jwt/v5"
)

var parser = jwt.NewParser()

func readKubernetesServiceAccountProjectedToken(path string) ([]byte, error) {
	jwt, err := os.ReadFile(path)
	if err != nil {
		return []byte{}, err
	}
	if err = validateK8sSAToken(jwt); err != nil {
		return []byte{}, err
	}
	return jwt, nil
}

func validateK8sSAToken(saToken []byte) error {
	claims := jwt.MapClaims{}
	_, _, err := parser.ParseUnverified(string(saToken), &claims)
	if err != nil {
		return fmt.Errorf("error validating token: %w", err)
	}
	sub, err := claims.GetSubject()

Source: KEDA security patch commit 15c5677. The fix introduces a JWT validation step that parses the file as a service account token and rejects non-token files before they are transmitted.

Detection Methods for CVE-2025-68476

Indicators of Compromise

  • TriggerAuthentication resources where spec.hashiCorpVault.credential.serviceAccount references paths outside /var/run/secrets/kubernetes.io/serviceaccount/.
  • TriggerAuthentication resources pointing to an external or unexpected Vault address.
  • Outbound HTTPS requests from the KEDA operator pod to untrusted hosts that include payloads matching the contents of sensitive files.
  • Recent creation or modification of TriggerAuthentication objects by service accounts not normally responsible for autoscaler configuration.

Detection Strategies

  • Audit Kubernetes API logs for create and update operations on triggerauthentications.keda.sh resources and inspect the serviceAccount and Vault address fields.
  • Inspect cluster manifests for TriggerAuthentication objects referencing absolute paths such as /etc/passwd, /root/, or Kubernetes secret mount paths.
  • Compare the running KEDA version against 2.17.3 and 2.18.3 to identify vulnerable deployments.

Monitoring Recommendations

  • Enable Kubernetes audit logging for the keda.sh API group and forward events to a centralized log store.
  • Monitor egress traffic from the KEDA operator namespace for connections to Vault endpoints not on an approved allowlist.
  • Alert on RBAC changes that grant create or patch rights on triggerauthentications to non-administrative principals.

How to Mitigate CVE-2025-68476

Immediate Actions Required

  • Upgrade KEDA to version 2.17.3 or 2.18.3 or later in all clusters.
  • Review all existing TriggerAuthentication resources and remove or correct any that reference file paths outside the standard projected service account directory.
  • Restrict RBAC permissions so only trusted administrators can create or modify TriggerAuthentication objects.
  • Rotate any credentials, secrets, or tokens that may have been accessible from the KEDA pod's filesystem.

Patch Information

The vulnerability is fixed in KEDA 2.17.3 and 2.18.3. The patch removes the unrestricted os.ReadFile import from pkg/scaling/resolver/hashicorpvault_handler.go and adds a new validator in pkg/scaling/resolver/k8s_validator.go that parses the loaded file as an unverified JWT and rejects content that does not present valid service account claims. Details are available in the KEDA Security Advisory GHSA-c4p6-qg4m-9jmr.

Workarounds

  • Disable use of HashiCorp Vault authentication in TriggerAuthentication resources until the upgrade is applied.
  • Apply a Kubernetes admission policy (OPA Gatekeeper, Kyverno) that rejects TriggerAuthentication objects where spec.hashiCorpVault.credential.serviceAccount does not start with /var/run/secrets/kubernetes.io/serviceaccount/.
  • Limit the KEDA operator pod's filesystem visibility by mounting only required volumes and avoiding host path mounts.
bash
# Example Kyverno policy snippet enforcing allowed serviceAccount path
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: restrict-keda-vault-sa-path
spec:
  validationFailureAction: Enforce
  rules:
    - name: validate-vault-sa-path
      match:
        any:
          - resources:
              kinds:
                - TriggerAuthentication
      validate:
        message: "hashiCorpVault.credential.serviceAccount must be a projected SA token path"
        pattern:
          spec:
            hashiCorpVault:
              credential:
                serviceAccount: "/var/run/secrets/kubernetes.io/serviceaccount/*"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechKeda

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.19%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-49199: Acer Predator Connect W6x Firmware RCE Flaw

  • CVE-2026-46344: Openquantumsafe Liboqs DOS Vulnerability

  • CVE-2026-44518: Openquantumsafe Liboqs DoS Vulnerability

  • CVE-2026-42951: MacGregor VDR Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English