REDHAT-BUG-2536844: High severity Foreman Foreman vulnerability

Published Sep 17, 2026
·
Updated

When accessing certain API endpoints (e.g. POSTing to /template/preview) a user with the Viewer role is able to access information they should not be able to (i.e. @host.rootpass). When the system is configured insecurely (i.e. Safemode is disabled), or a Safemode bypass vulnerability exists, then the Viewer is able to perform Remote Code Execution on the system as the foreman system account.

Affected Software

1 affected component
Foreman Foreman

Event History

Sep 17, 2026
Data Sourced
via Red Hat·09:36 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

A user assigned the Viewer role can access sensitive information through certain API endpoints, including POST requests to /template/preview. Remote code execution additionally requires Safemode to be disabled or a separate Safemode bypass vulnerability to exist.

2

Are systems with Safemode enabled still at risk?

The Viewer-role information disclosure is described independently of Safemode. Safemode affects the remote-code-execution condition: RCE is possible when Safemode is disabled or when it can be bypassed.

3

What privileges would successful code execution have?

Code execution runs as the foreman system account.

4

What should be prioritized if immediate remediation is not possible?

Ensure Safemode remains enabled and investigate whether any Safemode bypass vulnerability is present. Also limit Viewer-role access because Viewer users can reach the affected API functionality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203