CVE-2026-107360 PUBLISHED

Rubygem-safemode: safemode: jail allow-list bypass via op-assign expressions

Assigner: redhat
Reserved: 07.10.2026 Published: 12.11.2026 Updated: 13.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
CVSS Score: 9.6

Product Status

Vendor Red Hat
Product Red Hat Satellite 6.16 for RHEL 8
Versions Default: affected
  • unaffected from 0:1.5.0-3.el8sat to * (excl.)
Vendor Red Hat
Product Red Hat Satellite 6.16 for RHEL 9
Versions Default: affected
  • unaffected from 0:1.5.0-3.el9sat to * (excl.)
Vendor Red Hat
Product Red Hat Satellite 6.17 for RHEL 9
Versions Default: affected
  • unaffected from 0:1.5.0-3.el9sat to * (excl.)
Vendor Red Hat
Product Red Hat Satellite 6.18 for RHEL 9
Versions Default: affected
  • unaffected from 0:1.5.0-3.el9sat to * (excl.)
Vendor Red Hat
Product Red Hat Satellite 6.19 for RHEL 9
Versions Default: affected
  • unaffected from 0:1.5.0-3.el9sat to * (excl.)

Workarounds

Restrict template edit privileges to trusted administrators until a fixed safemode release is deployed. Where feasible, avoid exposing highly privileged ActiveRecord objects to untrusted template authors.

Credits

  • Red Hat would like to thank Kaya Emre Arikan for reporting this issue.

References

Problem Types

  • Permissive List of Allowed Inputs CWE