Skip to content
NewA calmer, faster ZeroHour

CVE-2026-96658: Foreman: Safemode bypass leading to RCE (fixed in 3.19.2, 5.0.1)

oss-security ()2
Part of a story covered by 8 sourcesForeman patches eight access and code-execution flawsMerged summary & timeline
AI summary · grok-4.7Summaries by Vani AI

Foreman Safemode bypass lets a low-privilege template user execute Ruby as the Foreman service.

Foreman patched CVE-2026-96658, a Safemode bypass that can lead to remote code execution. A low-privilege user who is permitted to render supplied template content can evade Safemode restrictions and execute Ruby with Foreman service privileges. The issue affects Foreman releases that bundle Safemode before 2.0.1. Fixes are in Foreman 3.19.2 and 5.0.1; the advisory does not report observed exploitation.

Key facts
  • Users allowed to render templates can bypass Safemode.
  • Bypass reaches Ruby code execution as the Foreman service.
  • Affects Foreman builds bundling Safemode before 2.0.1.
  • Fixed in Foreman 3.19.2 and 5.0.1; no in-the-wild exploitation reported.
Analyze CVE-2026-96658 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-96658
Authenticated safemode bypass RCE in Foreman
8.8—

From the original article

Posted by Ondrej Gajdusek on Oct 06 Hi, A security fix has been released in Foreman, an open-source lifecycle management tool for physical and virtual servers. CVE-2026-96658: Foreman: Safemode bypass leading to RCE A low-privilege user permitted to render supplied template content can bypass Foreman's Safemode restrictions and reach Ruby code execution with Foreman service privileges.

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.