1. Headline features
- Edit host parameters in bulk
-
On the All Hosts page, select multiple hosts and choose Set parameters to set a host-level override for a global parameter. Select the parameter and enter a value to apply. This action requires the
edit_hosts,view_params, andedit_paramspermissions. Withoutcreate_params, hosts without an existing override are skipped. - OpenVox provisioning templates
-
Provisioning templates can now configure OpenVox 8 or 9 repositories for Kickstart, Preseed, and other workflows. When Puppet setup is enabled, set the
enable-openvox8-repoorenable-openvox9-repohost parameter totrueto configure an OpenVox repository. AutoYaST templates support OpenVox, and FreeBSD provisioning now defaults to OpenVox 8 when agent setup is enabled. - HTTP proxy for Ubuntu autoinstall
-
Ubuntu autoinstall provisioning can now use an HTTP proxy. Set the
http-proxyhost parameter to the proxy hostname. If needed, sethttp-proxy-portto the port. - VM-specific SSH provisioning usernames
-
For image-based SSH provisioning, Foreman uses the username exposed by the compute provider’s virtual machine object, if available. Otherwise, Foreman uses the image username.
- Keep existing network connections during Kickstart provisioning
-
Set the
network-no-activatehost parameter totrueto add--no-activateto Kickstart network directives for managed interfaces. This can help avoid disrupting an existing bonded connection during provisioning. - Parse URLs in templates
-
The
parse_urltemplate helper lets you extract components from a URL. For example, use it to obtain the hostname or fragment in a provisioning template.
2. Upgrade warnings
- Local PostgreSQL upgrades on Enterprise Linux 9
-
On Enterprise Linux 9, the installer upgrades eligible local PostgreSQL clusters to version 16. PostgreSQL 13 upgrades through version 15; PostgreSQL 15 upgrades directly to version 16. Plan downtime and verify your backup before upgrading.
The installer checks that
/var/lib/pgsqlhas free space equal to at least twice the apparent size of/var/lib/pgsql/datafor PostgreSQL 13, or once its size for PostgreSQL 15. This is a minimum check, not a guarantee of sufficient space: allow extra headroom and check any separate filesystems used by the cluster. The installer does not upgrade remote databases. - Duplicate organizations, locations, and host groups
-
During the upgrade, database migrations rename existing duplicate organizations, locations, and host groups with the same parent. The record with the lowest ID keeps its name; the others usually have their ID appended. Names are compared without regard to case. Check automation that refers to these names or their paths after the upgrade.
- Legacy Hammer SSH plugin
-
The installer no longer manages the legacy
hammer-cli-foreman-sshplugin through its former option. Applying the legacyforeman::cli::sshPuppet class now removes the plugin package. RPM upgrades can also remove older versions of the plugin throughforeman-obsolete-packages. Review automation that useshammer host sshbefore upgrading. This change does not remove SSH or remote execution generally. - Hammer parameter output
-
In
hammer-cli-foreman5.1.0, the parameter output change also affects human-readable, JSON, and YAML output and can omit fields such asis_property. Review scripts that consume this output before upgrading. - Smart Proxy TLS cipher restrictions
-
Custom Smart Proxy cipher restrictions might not apply to every enabled TLS version. On Ruby/OpenSSL builds without
SSLContext#ciphersuites=,tls_ciphersdoes not restrict TLS 1.3 ciphers. A cipher string valid for only one TLS version can also leave another enabled version unrestricted by that string. Test the effective cipher configuration for each enabled TLS version.
3. Deprecations
- Foreman server on Debian 12 and Ubuntu 22.04
-
Running the Foreman server on Debian 12 (Bookworm) and Ubuntu 22.04 (Jammy) was deprecated in Foreman 5.0. Both remain supported in Foreman 5.1, but you should plan to move to a newer supported platform. This deprecation concerns the Foreman server, not clients.
4. Foreman 5.1.0
You can find issues tagged for this release on Redmine. The issue list below also includes changes described in the headline features. Some entries use the original issue titles; follow the links for details.
4.1. Foreman
-
Deprecate components inside the table folder - #40017
-
Replace JS snapshot tests - DocumentationLink - #40012
-
Avoid package-manager operations in the Anaconda installation scenario and select DNF on Amazon Linux 2023 and later. - #39989
-
Replace the static
/pub/katello-rhsm-consumerscript with a dynamically rendered public provisioning template. - #39957 -
Open community notifications in a new tab. - #39946
-
Record permission changes to role filters in the audit log. - #39922
-
Remove unused Foreman UI components. - #39899
-
Add brute-force protection to unattended controller - #39894
-
Improve login bruteforce protection - #39893
-
Mask hidden values in the inherited-parameters API - #39869
-
Hide settings edit buttons when the user lacks permission. - #39835
-
Fix the Discovery Red Hat kexec template preview on the host details page. - #39832
-
Accept escaped client certificates from reverse proxies - #39828
-
Allow disabling the Puma control application with the
FOREMAN_PUMA_CONTROL_APPenvironment variable. - #39826 -
Delete react-debounce-input from package.json - #39781
-
Delete unused NavItem and its tests - #39771
-
Delete deprecated common/xyz - #39764
-
Delete components/Table.js - #39760
-
Delete custom buttons - #39759
-
Show readable column labels in responsive tables, including the All Hosts Type column. - #39756
-
Delete forms/xyz - #39751
-
Delete bindMethods() - #39746
-
Delete ForemanModal and dependencies - #39745
-
Delete deleteActionCellFormatter.js - #39744
-
Show API return-value information in
/apidocs. - #39736 -
Replace JS snapshot tests - UserDetails - #39706
-
Replace JS snapshot tests - ToastsList integration - #39705
-
Replace JS snapshot tests - Status - #39703
-
Replace JS snapshot tests - ShowOrgsLocs - #39700
-
Replace JS snapshot tests - ShowTaxonomyInline - #39699
-
Replace JS snapshot tests - SettingName - #39698
-
Replace JS snapshot tests - SettingsTable - #39697
-
Replace JS snapshot tests - SettingCell - #39696
-
Replace JS snapshot tests - SearchLink - #39695
-
Replace JS snapshot tests - RegistrationCommands integration - #39693
-
Replace JS snapshot tests - RegistrationCommands helpers - #39688
-
Replace JS snapshot tests - Routes - #39682
-
Add OpenVox support to AutoYaST templates. - #39679
-
Add a bulk action to set parameters on the All Hosts page. - #39678
-
Inconsistent ubuntu major x minor version handling in test factories - #39666
-
Replace JS snapshot tests - HeaderToolbar and ImpersonateIcon - #39665
-
Replace JS snapshot tests - ExternalLogout - #39663
-
Replace JS snapshot tests - DiffView - #39661
-
Replace JS snapshot tests - ConfigReports - #39658
-
Use
ssh-keygeninstead of the sshkey Ruby gem in Foreman. - #39657 -
Replace JS snapshot tests - ColumnSelector - #39655
-
Remove reference to puppet 7 - #39654
-
Remove reference to puppet 6 - #39653
-
Allow a non-admin user who owns a host to change their password. - #39650
-
Replace JS snapshot tests - AuditsList - #39649
-
Replace JS snapshot tests - APIRequest - #39644
-
Replace JS snapshot tests - ActionLinks - #39642
-
Replace JS snapshot tests - PasswordStrength integration - #39632
-
Replace JS snapshot tests - PasswordStrength - #39631
-
Prevent concurrent requests from creating duplicate organizations or locations with the same parent. - #39625
-
Replace JS snapshot tests - Editor integration - #39623
-
Replace JS snapshot tests - EditorView - #39622
-
Prevent ArgumentError when find_by_attributes receives all nil values - #39619
-
Replace JS snapshot tests - EditorModal - #39617
-
Replace JS snapshot tests - Breadcrumb - #39616
-
Fix host searches that use the
parent_hostgroupparameter with the^operator. - #39615 -
Allow configuring dynflow-sidekiq service using environment variables - #39605
-
Replace JS snapshot tests - BreadcrumbBar - #39602
-
Replace JS snapshot tests - ExpansiveView - #39601
-
Preserve existing audit exclusions when plugins extend audited associations. - #39591
-
Return external user groups from the LDAP authentication source API endpoint. - #39590
-
Prevent JSON and array parameter values from being double-encoded when changing the parent of a host group. - #39564
-
Return HTTP 404 with an informational log message for unsupported cloud-init vendor-data requests. - #39550
-
Replace enzyme test in SkeletonLoader with RTL - #39510
-
Replace enzyme test in SubscringWrapper with RTL - #39487
-
Replace enzyme test in HeaderToolbar, UserDropdown with RTL - #39482
-
ConfigReport.summarise executes N+1 queries when loading host report metrics - #39382
-
hosts index page loads full Host objects when only hostgroup_ids are needed - #39381
-
N+1 queries when authorizer loads filters, filterings and permissions - #39335
-
Recover from false registration failures caused by TCP reset at high concurrency - #39249
-
Include custom snippets in finish scripts for image-based deployments that use script-based configuration. - #39115
-
Add custom Puppet setup snippet hooks and remove direct upstream GPG key imports on SUSE. - #39092
-
Mark image-based provisioning as failed when its SSH connection fails. - #38904
-
The command foreman-rake plugin:apipie:cache[plugin_name] doesn't work - #38198
-
Prevent provisioning template exports from losing content when an ERB comment precedes an expression containing
name. - #38129 -
Fix errors when viewing Puppet facts whose names contain parentheses. - #36572
-
Introduce ActiveStorage - #35330
4.1.1. API
-
Fix
hammer host rebuild-configwhen an organization or location is set. - #39915 -
Terminate expired API sessions before checking endpoint permissions. - #39867
-
Include the partition table snippet flag in API index, show, create, and update responses. - #39266
-
Add descriptions to hardware model API parameters. - #38957
-
Prevent simultaneous API requests from creating duplicate host groups with the same parent. - #38474
4.1.2. Audit Log
-
Add option to purge template related audit records - #38932
4.1.4. Compute resources - OpenStack
-
Allow OpenStack VM creation with no availability-zone preference. - #18002
4.1.6. Facts
-
Show discovered host facts to administrators when an organization or location is set. - #39900
4.1.7. Host creation
-
Also validate the minimum length of a provided root password for managed hosts outside build mode when not using image-based provisioning. - #31239
4.1.8. Host registration
-
Prevent intermittent JWT authentication failures caused by concurrent registration requests. - #39863
4.1.10. Inventory
-
Show full organization and location paths in bulk host assignment selection options. - #40001
4.1.11. JavaScript stack
-
Remove @theforeman/builder usage - #37819
4.1.12. Network
-
Recognize VLAN and alias interfaces on bonds without classifying them as bonds. - #39371
4.1.15. Packaging
-
Pin json to < 3 - #39885
4.1.17. Rails
-
Restore bundler/setup in boot.rb to prevent gem version conflicts - #39594
4.1.19. Security
-
CVE-2026-96659: Foreman excessive Viewer permissions on preview - #39846
-
CVE-2026-12544: Foreman configuration template injection and unsafe deserialization - #39841
-
CVE-2026-12542: Foreman foreman-tail command injection - #39840
-
CVE-2026-12541: Foreman database task command injection - #39839
-
CVE-2026-12540: Foreman errors:fetch_log command injection - #39838
4.1.20. Settings
-
Display zero-valued integer settings as
0rather thanEmpty. - #39596
4.1.21. Smart Proxy
-
Remove the Smart Proxy version mismatch warning, which could report supported proxies as incompatible. - #39702
4.1.22. Templates
-
Allow Kickstart network --no-activate via host parameter - #39720
-
Use the selected Puppet repository and architecture in the Windows repository snippet. - #39656
-
Support OpenVox agent in provisioning templates for FreeBSD - #39627
-
Order of network statements in anaconda kickstart with bond interfaces - #39329
-
Enable OpenVox repositories in provisioning templates when configured by host parameters. - #38993
-
Render static Preseed networking from Foreman interface data when DHCPv4 is unavailable in iPXE. - #38536
-
Render
dhcp4anddhcp6as booleans in Preseed Autoinstall netplan configuration. - #37409 -
Remove reference to puppet 5 - #35469
-
Preselect the sole associated template for a template kind in the operating system default-template form. - #23923
-
Include IPv6 DNS servers alongside IPv4 DNS servers in dual-stack Kickstart interface configuration. - #22777
4.1.26. Web Interface
-
Show the role filter Edit button to non-admin users with the
edit_filterspermission. - #39981 -
Compute current build status counts on the Host Statuses page. - #39610
-
Use a fallback to copy registration commands when the Clipboard API is unavailable. - #38880
-
Clear selected-host cookies on logout. - #29019
4.2. Installer
-
Foreman installer does not create database and leaves Apache not listening on 443 on fresh Ubuntu Jammy install - #39187
4.3. Packaging
4.3.1. RPMs
-
foreman.spec: foreman-assets missing Requires on npm(@babel/preset-env) and npm(@babel/preset-react) - #39936
Appendix A: Foreman contributors
We thank the following people who contributed to the Foreman 5.1 release:
Abhijeet Joshi, Adam Lazik, Adam Růžička, Alexander Fisher, Alleny244, Anand Jambhulkar, Andrei Lakatos, Arnaud Launay, Bernhard Suttner, Dan R. K. Ports, Danny Synk, David McDonald, Dax Kelson, Dieter Maes, Eric Helms, Evgeni Golov, Ewoud Kohl van Wijngaarden, Francesco Di Nucci, Ian Ballou, Jake Breitfeller, Jakub Duchek, Jérémy PALAFFRE, Karolina Malyjurkova, Kenyon Ralph, Konstantinos Familonidis, Ladislav Vašina, Leos Stejskal, Lukas Pramuk, Lukáš Hellebrandt, Lukáš Ježek, Lukáš Zapletal, Marcus Poller, Maria Agaphontzev, Markus Bucher, Matt Darcy, Michal Gritzbach, Nakul Pathak, Odilon Sousa, Oleh Fedorenko, Omar Awad, Ondřej Gajdušek, Pablo Méndez Hernández, Pat Riehecky, Peter Ondrejka, Prashant Waghmare, Quinn James, Quirin Pamp, SAGAR, Sayan Das, Shimon Shtein, Soham Majumdar, Tim Meusel, Titani Labaj, Vijaykumar Sawant, Yusuke Hirota, Zachary Huntington-Meath, amol patil, ankitk-redhat, log0u7, magarvo, nmburgan, raman1236.
We also thank everyone who tested releases, reported bugs, and provided feedback.