Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2022-41923

CVE-2022-41923: Grails Spring Security Escalation Flaw

CVE-2022-41923 is a privilege escalation vulnerability in Grails Spring Security Core plugin that allows attackers to access endpoints using donor endpoint privileges. This article covers technical details, affected versions, and patches.

Published: February 11, 2026

CVE-2022-41923 Overview

CVE-2022-41923 is a critical privilege escalation vulnerability in the Grails Spring Security Core plugin. The vulnerability allows an attacker to access a targeted endpoint using the authorization requirements of a different donor endpoint. In affected Grails framework applications, access to the targeted endpoint may be granted based on meeting the authorization requirements of the donor endpoint, enabling unauthorized access to protected resources.

Critical Impact

This authorization bypass vulnerability allows attackers to escalate privileges by exploiting improper access control, potentially gaining unauthorized access to sensitive functionality and data within affected Grails applications.

Affected Products

  • Grails Spring Security Core plugin versions 1.x
  • Grails Spring Security Core plugin versions 2.x
  • Grails Spring Security Core plugin versions >=3.0.0 <3.3.2
  • Grails Spring Security Core plugin versions >=4.0.0 <4.0.5
  • Grails Spring Security Core plugin versions >=5.0.0 <5.1.1

Discovery Timeline

  • 2022-11-23 - CVE CVE-2022-41923 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-41923

Vulnerability Analysis

This vulnerability is classified under CWE-269 (Improper Privilege Management) and CWE-863 (Incorrect Authorization). The flaw resides in the authorization mechanism of the Grails Spring Security Core plugin, where the calculateUri method incorrectly determines which endpoint's authorization requirements should be applied to incoming requests.

The authorization bypass occurs when the plugin fails to properly map incoming HTTP requests to their intended security constraints. An attacker can craft requests that cause the security framework to evaluate authorization against a different endpoint (the "donor" endpoint) rather than the actual targeted endpoint. If the donor endpoint has weaker or different authorization requirements, the attacker gains access to functionality they should not have permission to use.

Root Cause

The root cause lies in the calculateUri method within the security interception classes located in the grails.plugin.springsecurity.web.access.intercept package. The affected classes include:

  • AnnotationFilterInvocationDefinition
  • InterceptUrlMapFilterInvocationDefinition
  • RequestmapFilterInvocationDefinition

The method incorrectly calculates the URI used for authorization decisions, causing a mismatch between the actual request destination and the security constraints being evaluated. This URI calculation error enables the privilege escalation attack vector.

Attack Vector

The vulnerability is exploitable over the network without authentication. An attacker can send specially crafted HTTP requests to a Grails application using the vulnerable plugin. By manipulating request parameters or paths, the attacker causes the security framework to evaluate the wrong set of authorization rules, effectively bypassing intended access controls.

The attack does not require user interaction and can be performed by any remote attacker who can reach the affected application. The vulnerability affects applications regardless of their specific security configuration, as long as they use one of the vulnerable versions of the Grails Spring Security Core plugin.

For detailed technical analysis and proof-of-concept information, see the GitHub Security Advisory and the Grails Blog CVE Analysis.

Detection Methods for CVE-2022-41923

Indicators of Compromise

  • Unexpected access to privileged endpoints by unauthenticated or low-privileged users
  • Application logs showing authorization grants for endpoints the user should not have access to
  • Anomalous patterns in HTTP request paths or URI structures in access logs
  • Discrepancies between authenticated user roles and accessed resources

Detection Strategies

  • Review application access logs for users accessing endpoints beyond their authorized scope
  • Implement monitoring for authorization decision patterns that deviate from expected behavior
  • Deploy application security testing tools to identify authorization bypass conditions
  • Audit security configurations across all Grails applications using the Spring Security Core plugin

Monitoring Recommendations

  • Enable detailed logging for security interception events in Grails applications
  • Monitor for suspicious request patterns targeting sensitive administrative endpoints
  • Implement alerts for authorization grants that do not match expected user permission profiles
  • Correlate access patterns across endpoints to detect potential privilege escalation attempts

How to Mitigate CVE-2022-41923

Immediate Actions Required

  • Update Grails Spring Security Core plugin to patched versions: 3.3.2, 4.0.5, or 5.1.1 depending on your version branch
  • Implement the workaround override for the calculateUri method if immediate patching is not possible
  • Review application logs for evidence of exploitation prior to patching
  • Audit all endpoints and their authorization requirements after applying fixes

Patch Information

Grails has released patched versions of the Spring Security Core plugin to address this vulnerability:

  • Version 3.3.2 for the 3.x branch
  • Version 4.0.5 for the 4.x branch
  • Version 5.1.1 for the 5.x branch

Note that no patch is available for versions 1.x and 2.x of the plugin. Organizations using these legacy versions must implement the workaround or migrate to a supported version.

For additional patch details and guidance, refer to the GitHub PoC Repository and Grails Blog CVE Analysis.

Workarounds

  • Create a subclass extending the appropriate class from grails.plugin.springsecurity.web.access.intercept package based on your security configuration
  • Override the calculateUri method to use UrlPathHelper.defaultInstance.getRequestUri(request) instead of the vulnerable implementation
  • Apply the workaround to the correct class: AnnotationFilterInvocationDefinition, InterceptUrlMapFilterInvocationDefinition, or RequestmapFilterInvocationDefinition
  • This workaround is especially critical for version 2.x users, as no official patch exists for that version branch
groovy
# Workaround configuration - Override calculateUri method
# Create a subclass extending your security configuration class

@Override
protected String calculateUri(HttpServletRequest request) {
    UrlPathHelper.defaultInstance.getRequestUri(request)
}

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechGrails

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-269

  • CWE-863
  • Vendor Resources
  • GitHub PoC Repository

  • GitHub Security Advisory

  • Grails Blog CVE Analysis
  • Related CVEs
  • CVE-2022-35912: Grails Data Binding RCE Vulnerability
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