CVE-2026-92993: Dromara mayfly-go Machine Script Feature machine_script.go RunMachineScript os command injection
A vulnerability was detected in Dromara mayfly-go up to 1.11.5. The impacted element is the function RunMachineScript of the file server/internal/machine/api/machinescript.go of the component Machine Script Feature. The manipulation of the argument params results in os command injection. The attack can be executed remotely. The exploit is now public and may be used. Exploitation needs no admin account. Any account holding machine:script:run plus tag access reaches arbitrary command execution on machines whose templates contain {{.param}} placeholders; the SSH exec layer (Cli.Run) also applies no input filtering to any caller. The vendor was contacted early about this disclosure but did not respond in any way.
Affected Software
Event History
Frequently Asked Questions
Which accounts can exploit this issue?
An administrator account is not required. Any account with the machine:script:run permission and tag access can reach arbitrary command execution on affected machines.
Are all machine script templates exposed to parameter-based exploitation?
The documented parameter injection path affects machines whose script templates contain {{.param}} placeholders. Separately, the SSH execution layer, Cli.Run, applies no input filtering for any caller.