{"id":"CVE-2026-96658","published":"2026-10-01T17:17:34.500","lastModified":"2026-10-07T07:17:02.280","description":"A flaw was found in Foreman. An authenticated attacker with low-level permissions can achieve remote code execution (RCE) by bypassing the safemode sandbox within the templating engine. Due to improper handling of delegated methods, an attacker can append unauthorized functions to the allowed execution list, enabling them to run arbitrary commands on the hosting server.","cvssScore":9.9,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","cwes":["CWE-94"],"vendors":[],"products":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:74503","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:74504","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:74505","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:74506","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-96658","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2534185","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/2","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"The flaw allows an authenticated attacker with low-level permissions to execute arbitrary commands on the hosting server by bypassing the safemode sandbox within the templating engine.","exploitability":"Exploitation is moderately hard as it requires an attacker to have low-level permissions and knowledge of the templating engine's internal workings.","blast_radius":"If exploited, the impact is high, as it could lead to complete control of the hosting server, potentially leading to data loss or system compromise.","remediation":"Upgrade to the fixed version 2.590 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","auth-bypass","web","template-engine"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-02T08:41:25.959Z"}}