CVE-2026-113730: OGNL stricter-invocation block list bypass via java.lang.reflect reflection proxies
(updated )
OGNL’s optional stricter invocation mode maintains a block list that prevents expressions from directly calling methods on dangerous classes such as Runtime, ProcessBuilder, and ClassLoader. The block list filters on the declaring class of the method OGNL invokes. Because java.lang.reflect.Method (and Constructor/Field) are not on the list, an expression can use reflection as a proxy — someMethod.invoke(target, args) — to reach a blocked method. The real call (e.g. ProcessBuilder.start()) then executes inside the JDK reflection machinery and never passes back through OGNL’s invokeMethod, so the block list never sees it.
References
- github.com/advisories/GHSA-crwc-vw2r-qr6m
- github.com/orphan-oss/ognl/commit/16396fa4b560221294c2ab9ca04b76b161115e7d
- github.com/orphan-oss/ognl/commit/f4c17f794754d516ea799c36ed8524d1b7fb98e2
- github.com/orphan-oss/ognl/releases/tag/OGNL_3_4_13
- github.com/orphan-oss/ognl/security/advisories/GHSA-crwc-vw2r-qr6m
- nvd.nist.gov/vuln/detail/CVE-2026-113730
Code Behaviors & Features
Detect and mitigate CVE-2026-113730 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →