CVE-2026-12423: Foreman: unauthenticated information disclosure via provisioning token validation flaw

Published Jun 15, 2026
·
Updated

A flaw was found in Foreman. The Red Hat Satellite /unattended/provision API endpoint is vulnerable to an authentication bypass due to a semantic logic flaw in hostverifier.rb. The application verifies the database state of a provisioning token rather than its actual presence in the incoming HTTP request. Because a host actively undergoing provisioning has an unexpired token in the database, the server's validhosttoken? method evaluates to true, granting access to the kickstart template even if the requester provides no token at all in the URL.

Other sources

Description

The Red Hat Satellite /unattended/provision API endpoint is vulnerable to an authentication bypass due to a semantic logic flaw in hostverifier.rb. The application verifies the database state of a provisioning token rather than its actual presence in the incoming HTTP request.

Because a host actively undergoing provisioning has an unexpired token in the database, the server's validhosttoken? method evaluates to true, granting access to the kickstart template even if the requester provides no token at all in the URL.

--------------------------------------------------------------------------------

/usr/share/foreman/app/services/foreman/unattendedinstallation/hostverifier.rb

def validhosttoken?

return true unless @needstoken

return true unless forhosttemplate

VULNERABILITY: This only checks if the token in the database is currently expired.

It does NOT verify if the requester actually provided a valid token in the URL.

return true unless @host&.tokenexpired?

errors << { ... }

false

end

--------------------------------------------------------------------------------

Impact

By utilizing the enumeration technique detailed in F-26 Infrastructure Mapping via Observable Response Discrepancy, an unauthenticated remote attacker can actively poll the endpoint for a host entering a build state and extract its complete provisioning template. These templates contain highly sensitive data, including the root user's SHA-512 password hash, internal IP topography, and active API build tokens.

— Red Hat

Affected Software

2 affected components
Foreman Foreman
Red Hat Satellite

Event History

Jun 15, 2026
Data Sourced
via Red Hat·05:59 PM
DescriptionSeverityAffected Software
Oct 1, 2026
CVE Published
via MITRE·04:21 PM
Data Sourced
via MITRE·04:21 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which systems are exposed to unauthenticated requests?

The affected endpoint can expose a kickstart template when a host is actively undergoing provisioning and has an unexpired provisioning token recorded in the database.

2

What must an attacker provide to retrieve the template?

An attacker can make a request to the /unattended/provision API endpoint without providing a provisioning token in the URL. No authentication, privileges, or user interaction are required.

3

What is disclosed if exploitation succeeds?

The requester is granted access to the kickstart template associated with the provisioning host.

4

Are vendor fixes available?

Red Hat has published errata RHSA-2026:74503, RHSA-2026:74504, and RHSA-2026:74506 for this issue.

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