Rubygem-safemode: safemode: jail allow-list bypass via op-assign expressions
Not on CISA's list of exploited flaws, and not in the news we track.
9.6of 10, critical
Reading the vendor advisory
Fix it in your code
Each opens with a short prompt that points at Global Hack Map's public runbook for CVE-2026-107360. Nothing runs until you send it.
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.
You are affected if
The fix