The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2024-10451

CVE-2024-10451: Keycloak Information Disclosure Flaw

CVE-2024-10451 is an information disclosure vulnerability in Keycloak that exposes sensitive runtime values like passwords embedded in bytecode during the build process. This article covers technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2024-10451 Overview

A sensitive data exposure vulnerability has been identified in Keycloak, the popular open-source identity and access management solution. This flaw occurs because sensitive runtime values, such as passwords, may be captured during the Keycloak build process and embedded as default values in bytecode, leading to unintended information disclosure.

In Keycloak 26, sensitive data specified directly in environment variables during the build process is stored as default values, making it accessible during runtime. Additionally, indirect usage of environment variables for SPI (Service Provider Interface) options and Quarkus properties is vulnerable due to unconditional expansion by PropertyMapper logic, capturing sensitive data as default values in all Keycloak versions up to 26.0.2.

Critical Impact

Sensitive credentials and passwords embedded during build time may be exposed to unauthorized parties with access to Keycloak bytecode or runtime environment, potentially compromising identity management infrastructure.

Affected Products

  • Keycloak versions up to 26.0.2
  • Red Hat build of Keycloak
  • Red Hat Single Sign-On (SSO)

Discovery Timeline

  • 2024-11-25 - CVE-2024-10451 published to NVD
  • 2024-11-25 - Last updated in NVD database

Technical Details for CVE-2024-10451

Vulnerability Analysis

This vulnerability is classified as CWE-798 (Use of Hard-coded Credentials), though the mechanism is more nuanced than typical hardcoded credential issues. The flaw stems from how Keycloak's build process handles environment variables and configuration properties.

During the Keycloak build phase, the PropertyMapper logic unconditionally expands environment variables used for SPI options and Quarkus properties. This expansion captures the values at build time and embeds them directly into the compiled bytecode as default values. When sensitive information such as database passwords, LDAP bind credentials, or API keys are passed via environment variables during the build, these values become permanently embedded in the application artifacts.

The issue is particularly concerning because organizations following containerization best practices often pass secrets via environment variables during image building, inadvertently baking those secrets into the final container image.

Root Cause

The root cause lies in the PropertyMapper logic within Keycloak's configuration system. When processing SPI options and Quarkus properties, the mapper unconditionally resolves and expands environment variable references at build time rather than deferring resolution to runtime. This design decision, while potentially intended for performance optimization, creates a security vulnerability when sensitive data is involved.

The bytecode generation process then stores these expanded values as compile-time constants, making them accessible to anyone who can inspect the compiled classes or decompile the application.

Attack Vector

An attacker could exploit this vulnerability through several scenarios:

The vulnerability requires network access but has high attack complexity. An attacker would need to obtain access to the Keycloak deployment artifacts, container images, or bytecode to extract the embedded credentials. Once obtained, the attacker could decompile or inspect the bytecode to retrieve sensitive values such as database passwords, LDAP credentials, or other secrets that were present during build time. These extracted credentials could then be used to access backend systems, escalate privileges, or perform lateral movement within the organization's infrastructure.

Detection Methods for CVE-2024-10451

Indicators of Compromise

  • Unexpected access to backend databases or LDAP directories from unauthorized sources
  • Suspicious decompilation or reverse engineering attempts targeting Keycloak artifacts
  • Unauthorized access patterns to systems using credentials that should only be known to Keycloak
  • Evidence of container image extraction or analysis in deployment environments

Detection Strategies

  • Audit build logs and CI/CD pipelines for environment variables containing sensitive data passed during Keycloak builds
  • Scan compiled Keycloak bytecode for hardcoded credential patterns using static analysis tools
  • Monitor for unusual access to container registries or artifact repositories containing Keycloak images
  • Review access logs on systems that share credentials with Keycloak for unauthorized authentication attempts

Monitoring Recommendations

  • Implement runtime application self-protection (RASP) to detect credential extraction attempts
  • Enable detailed logging on backend systems (databases, LDAP) to detect unauthorized access using potentially exposed credentials
  • Monitor file system access to Keycloak deployment directories for suspicious read operations
  • Set up alerts for unusual container image pull activities or artifact downloads

How to Mitigate CVE-2024-10451

Immediate Actions Required

  • Upgrade Keycloak to patched versions as specified in Red Hat Security Advisories
  • Rotate all credentials that may have been exposed during previous build processes
  • Audit existing Keycloak container images and deployments for embedded sensitive data
  • Review and modify build processes to avoid passing secrets via environment variables at build time

Patch Information

Red Hat has released multiple security advisories addressing this vulnerability. Organizations should apply the appropriate patches based on their deployment:

  • Red Hat Security Advisory RHSA-2024:10175
  • Red Hat Security Advisory RHSA-2024:10176
  • Red Hat Security Advisory RHSA-2024:10177
  • Red Hat Security Advisory RHSA-2024:10178

Additional details are available in Red Hat Bugzilla Entry #2322096 and the Red Hat CVE Analysis.

Workarounds

  • Use runtime secret injection mechanisms (such as Kubernetes Secrets mounted as files) instead of environment variables during build
  • Implement multi-stage Docker builds where sensitive configuration is only introduced at runtime
  • Utilize external secret management solutions (HashiCorp Vault, AWS Secrets Manager) with runtime resolution
  • Rebuild Keycloak images without sensitive environment variables and configure secrets post-deployment
bash
# Example: Using Kubernetes secrets at runtime instead of build-time env vars
# Mount secrets as files rather than environment variables during build
kubectl create secret generic keycloak-secrets \
  --from-literal=db-password='secure-password' \
  --from-literal=ldap-password='ldap-secret'

# Reference in deployment with volume mount (runtime resolution)
# volumes:
#   - name: keycloak-secrets
#     secret:
#       secretName: keycloak-secrets

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechKeycloak

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-798
  • Technical References
  • Red Hat Security Advisory RHSA-2024:10175

  • Red Hat Security Advisory RHSA-2024:10176

  • Red Hat Security Advisory RHSA-2024:10177

  • Red Hat Security Advisory RHSA-2024:10178

  • Red Hat CVE Analysis CVE-2024-10451

  • Red Hat Bugzilla Entry #2322096
  • Related CVEs
  • CVE-2026-37977: Keycloak CORS Information Disclosure Flaw

  • CVE-2026-3190: Keycloak Information Disclosure Flaw

  • CVE-2026-4633: Keycloak User Enumeration Vulnerability

  • CVE-2026-4366: Keycloak 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