CVE Catalog

CVE-2026-96658

CriticalCVSS 9.9
Published: Translated: NVD NIST

Summary

A flaw in Foreman allows an authenticated attacker with low-level permissions to achieve remote code execution (RCE) by bypassing the Safemode sandbox within the templating engine. Due to improper handling of delegated methods, the attacker can append unauthorized functions to the allowed execution list, enabling arbitrary command execution on the hosting server.

Risk Assessment

This vulnerability enables remote code execution on the Foreman server, leading to full system compromise and potential lateral movement. The risk is critical because only low-level authenticated user permissions are required.

Recommendation

Immediately upgrade Foreman to the vendor-patched version. Also restrict user permissions and audit custom templates and delegated methods.

Other vulnerabilities in Foreman

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS