Skip to main content

rubygem-safemode EUVDEUVD-2026-124669

| CVE-2026-107360 CRITICAL
Permissive List of Allowed Inputs (CWE-183)
2026-11-12 redhat GHSA-xrw4-g928-4w5v
9.6
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with template-editing privilege
  2. Delivery
    Submit template with compound assignment expression
  3. Exploit
    Bypass Jail allow-list mediation
  4. Execution
    Invoke arbitrary no-argument object methods
  5. Impact
    Delete hosts or disclose non-allow-listed state

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Strict input allowlisting
Exploitation Conditions

Exploitation requires (1) an authenticated account on Red Hat Satellite 6 with the ability to supply or edit template content rendered through the rubygem-safemode sandbox (consistent with PR:L - this is not anonymous/unauthenticated), and (2) the specific trigger of a compound assignment expression within sandboxed template code, which is evaluated without routing the method call through the Jail allow-list. The practical impact is bounded to no-argument methods on objects already exposed to the template renderer (e.g., host deletion, disclosure of non-allow-listed object state), so an attacker cannot pass arguments to those methods through this vector. The main limiting factor is the required authenticated, template-editing privilege; there is no user-interaction requirement (UI:N) and complexity is low (AC:L), so any such user can trigger it reliably against affected configurations.

Impact

Multiple signals point the same direction here. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N, 9.6) describes a network-reachable, low-complexity sandbox escape requiring only low-privilege authentication, with a scope change and high confidentiality and integrity impact - consistent with the description's claim that a template-supplying user can escape the rubygem-safemode Jail. Red Hat's own priority label is act_now, which should dominate triage decisions. However, several exploitation signals are absent rather than reassuring: no EPSS probability is provided, the CVE is not indicated to be on the CISA KEV list (so this is NOT confirmed active exploitation), and the two references are a Red Hat advisory and a Bugzilla ticket - no proof-of-concept or working exploit code is referenced. So this is a genuinely high-priority, vendor-flagged flaw on its technical merits and reachability, but current evidence shows no public exploit and no measured exploitation probability; the urgency rests on the vendor's act_now decision and the strong CVSS profile, not on observed in-the-wild activity. One nuance to verify: the flaw is tagged 'RCE', but the description only establishes invocation of arbitrary no-argument methods on already-exposed objects (e.g., host deletion), which is a sandbox/allow-list bypass rather than clearly demonstrated arbitrary code execution - treat the RCE framing as the upper-bound consequence, not a confirmed primitive.

Exploit ScenarioDerived

An authenticated Satellite user with permission to supply or edit template content submits a template containing a compound assignment expression (e.g., an operator-assignment) that the safemode Jail evaluates without routing the underlying method call through its allow-list. Because attack complexity is low and the vector is network-based, the attacker needs only valid low-privilege credentials and no user interaction to trigger destructive no-argument methods such as host deletion or to read non-allow-listed object state. No public exploit identified at time of analysis, so weaponization effort would currently fall on the attacker.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 12, 2026

Compound assignment expressions inside rubygem-safemode's sandbox are evaluated without routing the underlying method call through the Jail allow-list, so an authenticated Red Hat Satellite 6 user who can supply or edit template content can invoke arbitrary no-argument methods on objects already exposed to the template renderer. That reaches beyond the intended sandbox boundary: the assessed impact is high confidentiality and integrity loss (including destructive operations such as host deletion and disclosure of non-allow-listed object state), with scope changed because the sandbox is escaped rather than merely misused. Exploitation needs a valid Satellite account with template-editing rights (PR:L, not anonymous), is low complexity and needs no user interaction, and no public exploit code was identified at time of analysis; the vuln.today decision label is act_now and Red Hat is the reporting source.

RemediationAI

Vendor patch status is not stated in the available data, and no fixed rubygem-safemode or Satellite 6 version string was provided, so track https://access.redhat.com/security/cve/CVE-2026-107360 and https://bugzilla.redhat.com/show_bug.cgi?id=2547645 for the erratum and apply the updated rubygem-safemode package as soon as it is published. Until then, the most direct compensating control follows from the prerequisite: restrict Satellite 6 roles that permit creating, editing or importing templates to a small, trusted set of administrators, which removes the PR:L foothold the exploit needs at the cost of reducing delegated provisioning and automation workflows for other teams. Where template authoring must stay delegated, review and sanitize template content for compound assignment expressions on objects exposed to the renderer before it is imported, accepting that this is a detective/preventive review process rather than an enforced boundary and can be bypassed by a determined template author unless the review is gated on approval. Auditing existing templates and the audit log for unexpected host deletions or unusual object inspection around template renders provides detection for attempts that slip through, but neither workaround substitutes for the sandbox fix once Red Hat ships it.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

rubygem-safemode is a Ruby library that evaluates untrusted code inside a restricted 'Jail', deciding which methods may be called on which objects through an allow-list. Ruby's compound assignment operators (for example +=, ||=, <<=) are syntactic sugar that desugar into a read of the receiver followed by a method invocation such as +, || or <<; the flaw is that this implicit invocation is dispatched without passing through the Jail's mediation, so any no-argument method on an object reachable from the template renderer becomes callable. The weakness maps to CWE-183 (Permissive List of Allowed Inputs): the allow-list governs the ordinary call path but does not cover the compound-assignment path, leaving a gap in a control that is supposed to be exhaustive. Red Hat Satellite 6 renders provisioning and other templates through this sandbox (CPE cpe:2.3:a:red_hat:red_hat_satellite_6:*:*:*:*:*:*:*:*, no version bounds supplied), and the vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N reflects that the attacker works over the application interface with an authenticated low-privilege account rather than from an anonymous position. The practical ceiling is worth stating precisely: because arguments cannot be passed through this path, impact is bounded to no-argument methods on already-exposed objects rather than arbitrary code execution with attacker-controlled parameters, even though the issue is tagged RCE in the source intelligence; the trigger is specifically the presence of a compound assignment expression in sandboxed template code.

Know when Red Hat Satellite 6 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 9.6 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
vuln.today AI 9.6 CRITICAL

Network-reachable template input with low-privilege auth (PR:L) and no interaction; sandbox escape crosses a trust boundary (S:C); disclosure and destructive host deletion give C:H/I:H, with no direct availability impact modeled (A:N).

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
Red Hat 9.6 CRITICAL

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-107360 is a critical sandbox escape in rubygem-safemode impacting Red Hat Satellite 6. Authenticated users with template-editing privileges can invoke arbitrary no-argument methods, leading to data confidentiality and integrity loss, including destructive host deletions. Leadership should prioritize remediation due to the high potential for operational disruption and data exposure.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include enforcing least privilege for template editing, auditing template changes, and monitoring for anomalous method invocations.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
Red Hat Satellite 6: common in RHEL-managed enterprises, not universally deployed
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_satellite_6:*:*:*:*:*:*:*:*
CVE-2026-114406 MEDIUM POC
6.8 Oct 21

The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe

CVE-2026-12701 CRITICAL
9.0 Jul 20

Arbitrary file write in pulpcore's FilesystemExport feature allows an authenticated administrator to escape the intended

CVE-2026-12405 HIGH
8.8 Oct 01

Command injection in the Red Hat Satellite job invocation API (/api/v2/job_invocations), shipped via the rubygem-foreman

CVE-2026-89091 HIGH
8.8 Oct 08

Symlink-following file overwrite on the Ansible control node is possible in ansible-core when a user runs `ansible-galax

CVE-2026-86322 HIGH
8.8 Nov 12

An authenticated authorization bypass in Foreman's API (shipped in Red Hat Satellite 6) lets a user who holds only the c

CVE-2026-5136 HIGH
8.8 Jul 01

Privilege escalation in Foreman (the engine behind Red Hat Satellite 6) lets an authenticated user holding usergroup-man

CVE-2026-1961 HIGH
8.8 Mar 26

Command injection in Foreman's WebSocket proxy, as shipped in Red Hat Satellite 6, allows a malicious compute-resource p

CVE-2026-12541 HIGH
8.2 Oct 01

OS command injection in Foreman's foreman-rake db:dump and db:import_dump tasks lets an attacker who already holds permi

CVE-2026-12540 HIGH
8.2 Oct 01

Command injection in the Foreman foreman-rake errors:fetch_log task shipped with Red Hat Satellite 6 allows a local user

CVE-2026-84218 HIGH
8.1 Sep 01

Jolokia's JSR-160 proxy in multiple Red Hat middleware products allows network-accessible unauthenticated attackers (per

CVE-2026-130644 HIGH
8.1 Nov 18

Path traversal in ansible-core's `ansible-galaxy collection install` command allows an attacker-supplied collection arti

CVE-2026-90959 HIGH
8.1 Sep 24

Path traversal in the pulpcore content upload API allows an authenticated user holding only low-privilege file-repositor

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy