CVE-2026-47424: Groovy Sandbox Missing Execute Block

A Groovy sandbox `onMethodCall` method lacks a preemptive check to block the `execute` (or `invokeMethod`) method. Because `ProcessGroovyMethods.execute()` is a Groovy extension method that spawns an OS process during invocation, filtering the target or return value is evaluated too late. Ensure `onMethodCall` explicitly evaluates the method name and blocks

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Java
greprules fetch cve-2026-47424-groovy-sandbox-missing-execute-block --engine opengrep

Description

A Groovy sandbox `onMethodCall` method lacks a preemptive check to block the `execute` (or `invokeMethod`) method. Because `ProcessGroovyMethods.execute()` is a Groovy extension method that spawns an OS process during invocation, filtering the target or return value is evaluated too late. Ensure `onMethodCall` explicitly evaluates the method name and blocks