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
    • 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-2026-4366

CVE-2026-4366: Keycloak Information Disclosure Flaw

CVE-2026-4366 is an information disclosure vulnerability in Keycloak that allows attackers to access internal services through improper redirect handling. This article covers technical details, affected versions, and mitigation.

Published: March 20, 2026

CVE-2026-4366 Overview

A Server-Side Request Forgery (SSRF) vulnerability has been identified in Keycloak, a widely-used open-source identity and access management solution. The flaw occurs when Keycloak improperly follows HTTP redirects while processing certain client configuration requests. This behavior enables attackers to manipulate the server into making unintended requests to internal or restricted resources, potentially exposing sensitive internal services such as cloud metadata endpoints.

Critical Impact

Attackers can leverage this SSRF vulnerability to access internal network resources, retrieve cloud instance metadata, and map internal infrastructure—potentially leading to further attacks including privilege escalation and data exfiltration.

Affected Products

  • Keycloak (specific affected versions to be confirmed via vendor advisory)

Discovery Timeline

  • 2026-03-18 - CVE-2026-4366 published to NVD
  • 2026-03-18 - Last updated in NVD database

Technical Details for CVE-2026-4366

Vulnerability Analysis

This vulnerability is classified as CWE-918 (Server-Side Request Forgery). The core issue lies in Keycloak's handling of HTTP redirects during client configuration request processing. When the server receives certain configuration requests, it follows HTTP redirects without proper validation of the destination URL, allowing attackers to redirect requests to arbitrary internal or external endpoints.

The network-accessible nature of this vulnerability means attackers can exploit it remotely without authentication. While the vulnerability does not directly allow data modification or cause service disruption, it enables unauthorized read access to internal resources that should not be externally accessible. The scope is changed, meaning the vulnerability in Keycloak can affect resources beyond its own security boundary.

Root Cause

The root cause is improper validation of redirect destinations when Keycloak processes client configuration requests. The application fails to implement adequate URL validation and allowlist controls before following HTTP redirects, trusting the redirect location without verifying whether it points to a safe, authorized destination.

Attack Vector

An attacker can exploit this vulnerability by crafting malicious client configuration requests that trigger Keycloak to follow redirects to internal resources. The attack flow typically involves:

  1. The attacker identifies an endpoint in Keycloak that processes client configuration and follows redirects
  2. A crafted request is submitted with a redirect pointing to an internal resource (e.g., http://169.254.169.254/latest/meta-data/ for AWS metadata)
  3. Keycloak follows the redirect and retrieves the internal resource content
  4. The response or error messages may leak information about the internal resource to the attacker

This technique can be used to access cloud provider metadata endpoints, internal APIs, or other network services not intended to be externally accessible. The information disclosed could include cloud credentials, internal service configurations, or details about the internal network topology.

Detection Methods for CVE-2026-4366

Indicators of Compromise

  • Unusual outbound requests from Keycloak servers to internal IP ranges (e.g., 10.x.x.x, 172.16.x.x, 192.168.x.x)
  • Requests targeting cloud metadata endpoints (169.254.169.254)
  • Unexpected HTTP redirects in Keycloak access logs during client configuration operations
  • Anomalous network traffic patterns from the Keycloak application server

Detection Strategies

  • Monitor Keycloak application logs for client configuration requests with suspicious redirect URLs
  • Implement network-level monitoring to detect requests from Keycloak to internal-only services
  • Deploy Web Application Firewall (WAF) rules to inspect and block SSRF patterns in requests
  • Analyze outbound connection attempts from Keycloak servers for unauthorized destinations

Monitoring Recommendations

  • Enable detailed logging for all client configuration request processing in Keycloak
  • Set up alerts for any connections from Keycloak to RFC 1918 private address spaces
  • Monitor DNS queries from Keycloak servers for internal hostname resolution attempts
  • Implement egress filtering and log all blocked outbound connection attempts

How to Mitigate CVE-2026-4366

Immediate Actions Required

  • Review and apply vendor patches as they become available from Red Hat and Keycloak
  • Implement network segmentation to restrict Keycloak's ability to reach internal services
  • Configure egress firewall rules to limit outbound connections from Keycloak servers
  • Deploy WAF rules to detect and block SSRF attack patterns

Patch Information

Red Hat has acknowledged this vulnerability. For the latest patch information and remediation guidance, refer to the Red Hat CVE-2026-4366 Advisory. Additional technical details are available in Red Hat Bugzilla Report #2448543.

Organizations should monitor Red Hat's security advisories for official patches and apply them as soon as they become available.

Workarounds

  • Implement strict egress filtering on Keycloak servers to prevent connections to internal networks
  • Use network policies to block access to cloud metadata endpoints (169.254.169.254)
  • Deploy a proxy or gateway that validates and restricts outbound URLs before Keycloak can follow redirects
  • Consider disabling or restricting client configuration endpoints if not required for your deployment
bash
# Example: Block cloud metadata endpoint access using iptables
iptables -A OUTPUT -d 169.254.169.254 -j DROP

# Example: Restrict outbound connections to approved destinations only
iptables -A OUTPUT -m owner --uid-owner keycloak -j REJECT
iptables -A OUTPUT -m owner --uid-owner keycloak -d approved-endpoint.example.com -j ACCEPT

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.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • Red Hat CVE-2026-4366 Advisory

  • Red Hat Bugzilla Report #2448543
  • 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-3911: Keycloak Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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