Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-113730 Overview
CVE-2026-113730 is a security feature bypass [CWE-693] in the Object Graph Navigation Library (OGNL) for Java. Versions prior to 3.4.13 fail to block java.lang.reflect.Method, java.lang.reflect.Constructor, and java.lang.reflect.Field within the optional stricter-invocation sandbox in OgnlRuntime.invokeMethod. An attacker who can submit OGNL expressions to a vulnerable application can use these reflection objects as proxies to invoke methods on classes the sandbox otherwise blocks. The real operation then executes inside JDK reflection without re-entering the stricter-invocation check. The issue is fixed in OGNL 3.4.13.
Critical Impact
Applications relying on OGNL stricter-invocation as a sandbox for untrusted expressions can be tricked into executing operations on blocked classes such as Runtime or ClassLoader through reflection proxies.
Affected Products
- OGNL (Object Graph Navigation Library for Java) versions prior to 3.4.13
- Applications evaluating untrusted OGNL expressions with the default or an equivalently permissive MemberAccess
- Deployments relying on stricter-invocation mode as the sole sandbox against untrusted OGNL input
Discovery Timeline
- 2026-10-20 - CVE-2026-113730 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-113730
Vulnerability Analysis
OGNL exposes a stricter-invocation mode intended to block method calls on sensitive classes such as Runtime, ClassLoader, and ProcessBuilder. The check in OgnlRuntime.invokeMethod inspects the declaring class of the method being invoked. The pre-patch logic did not treat java.lang.reflect.Method, Constructor, or Field as sensitive. An attacker-supplied expression can therefore call Method.invoke on a resolved method of a blocked class. OGNL sees the declaring class as java.lang.reflect.Method and permits the call. The real operation then runs inside JDK reflection without the sandbox being re-evaluated. Impact depends on application context, but the bypass can lead to arbitrary method execution, field access, or object instantiation on otherwise prohibited classes.
Root Cause
The root cause is an incomplete deny-list in OgnlRuntime.invokeMethod. Reflection classes act as a generic proxy for any underlying method, constructor, or field, so excluding only concrete sensitive classes leaves a trivial pivot. This is a classic sandbox bypass pattern tracked under [CWE-693] (Protection Mechanism Failure).
Attack Vector
Exploitation requires three preconditions: the application evaluates untrusted OGNL expressions, uses the default or an equivalently permissive MemberAccess, and relies on stricter-invocation as the sandbox. Apache Struts deployments using SecurityMemberAccess are not affected. The attack vector is network-reachable in web applications that pass user input to OGNL, but complexity is high because the attacker must shape expressions that resolve reflection objects before invoking them.
Runtime.class.isAssignableFrom(methodDeclaringClass) ||
ClassLoader.class.isAssignableFrom(methodDeclaringClass) ||
ProcessBuilder.class.isAssignableFrom(methodDeclaringClass) ||
+ Method.class.isAssignableFrom(methodDeclaringClass) ||
+ Constructor.class.isAssignableFrom(methodDeclaringClass) ||
+ Field.class.isAssignableFrom(methodDeclaringClass) ||
isUnsafeClass(methodDeclaringClass)) {
// Prevent calls to some specific methods, as well as all methods of certain classes/interfaces
// for which no (apparent) legitimate use cases exist for their usage within OGNL invokeMethod().
Source: GitHub Commit 16396fa — the patch extends the blocked-class check in OgnlRuntime.invokeMethod to include the three reflection classes.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-113730
Indicators of Compromise
- OGNL expressions in HTTP parameters, headers, or body fields that reference java.lang.reflect.Method, Constructor, or Field
- Application logs showing OGNL evaluation of expressions containing getMethod, getDeclaredMethod, invoke, or newInstance
- Unexpected child processes spawned by Java application servers that evaluate OGNL input
Detection Strategies
- Inventory Java applications and dependencies to identify OGNL versions older than 3.4.13, including transitive dependencies pulled in by frameworks
- Instrument OGNL evaluation points to log raw expression strings, then alert on tokens referencing reflect.Method, reflect.Constructor, or reflect.Field
- Monitor for runtime behavior that correlates with sandbox escape, such as JVM process spawning shells or loading unexpected classes
Monitoring Recommendations
- Enable verbose logging on any component that calls Ognl.getValue or Ognl.setValue with user-controllable input
- Forward JVM process-execution and file-access telemetry to a centralized analytics platform for behavioral baselining
- Track outbound network connections from Java application servers to detect post-exploitation command-and-control activity
How to Mitigate CVE-2026-113730
Immediate Actions Required
- Upgrade OGNL to version 3.4.13 or later in all affected applications and rebuild downstream artifacts
- Audit application code paths that pass untrusted input to OGNL and remove them where feasible
- Replace the default MemberAccess with a restrictive implementation such as Struts SecurityMemberAccess when upgrading is not immediately possible
Patch Information
The fix is included in OGNL release 3.4.13. Technical details are documented in GHSA-crwc-vw2r-qr6m and the patch commits 16396fa and f4c17f7. The patch extends OgnlRuntime.invokeMethod to block invocations whose declaring class is Method, Constructor, or Field.
Workarounds
- Configure OGNL with a restrictive MemberAccess that denies reflection outright instead of relying on stricter-invocation alone
- Reject or sanitize OGNL expressions at the ingress layer by blocking tokens such as reflect., getMethod, and invoke
- Isolate Java workloads that must evaluate OGNL by running them with least-privilege service accounts and restricted egress
# Maven dependency update to the patched release
# pom.xml
# <dependency>
# <groupId>ognl</groupId>
# <artifactId>ognl</artifactId>
# <version>3.4.13</version>
# </dependency>
mvn versions:use-dep-version -Dincludes=ognl:ognl -DdepVersion=3.4.13 -DforceVersion=true
mvn dependency:tree | grep ognl
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

