Foreman 5.0.1 is now available

This release addresses eight security vulnerabilities:

  • CVE-2026-96658 — Safemode bypass allowing a low-privilege user who can render template content to reach Ruby code execution (critical)
  • CVE-2026-96659 — excessive Viewer role permissions on template preview, which can lead to code execution when Safemode is disabled or bypassed
  • CVE-2026-12423 — provisioning token validation flaw allowing unauthenticated access to build-host provisioning data through an IP/MAC fallback
  • CVE-2026-12540 — command injection in the foreman-rake errors:fetch_log task
  • CVE-2026-12541 — command injection in foreman-rake database tasks
  • CVE-2026-12542 — command injection in foreman-tail
  • CVE-2026-12544 — template injection and unsafe deserialization in foreman-rake configuration loading
  • CVE-2026-12545 — editor command injection in Hammer CLI (fixed in Hammer CLI 5.0.1)

All users are strongly encouraged to upgrade. For full details, see the Foreman security page.

This release also fixes high memory usage when generating the “Host - Available Errata” report and removes the Smart Proxy version compatibility check.

Packages may be found in the 5.0 directories on both deb.theforeman.org and yum.theforeman.org, and tarballs are on downloads.theforeman.org.

The GPG key used for signing RPMs and tarballs has the following fingerprint:
38F3FB92F2F0C352BC9B887935FDA52FFF7D88BF

The GPG key used for signing DEBs has the following fingerprint:
5B7C3E5A735BCB4D615829DC0BDDA991FD7AAC8A.

1 Like