All reports
Critical

rubygem-safemode: safemode: Jail allow-list bypass via op-assign expressions

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-107360

Probability of exploitation in the next 30 days: 0.55%

FIRST EPSS · 2026-11-23

Description

A flaw was found in rubygem-safemode. Compound assignment expressions in sandboxed code are evaluated without mediating method calls through the Jail allow-list. An authenticated attacker who can supply template content can invoke arbitrary no-argument methods on objects exposed to the template renderer without Jail mediation, including destructive operations such as host deletion and disclosure of non-allow-listed object state.