Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-12423 Overview
A semantic logic flaw in Foreman allows unauthenticated attackers to bypass token verification on the Red Hat Satellite /unattended/provision API endpoint. The flaw resides in host_verifier.rb, where the valid_host_token? method checks whether a provisioning token exists in the database rather than whether it was supplied in the inbound HTTP request. Any host actively undergoing provisioning holds an unexpired token, so the server returns the kickstart template to callers that supply no token at all. The weakness is classified as Missing Authentication for Critical Function [CWE-306] and affects Red Hat Satellite and upstream Foreman on Red Hat Enterprise Linux 8 and 9.
Critical Impact
Unauthenticated network attackers can retrieve kickstart templates for hosts in provisioning, exposing bootstrap scripts, embedded secrets, and infrastructure configuration.
Affected Products
- Red Hat Satellite 6.x
- The Foreman (upstream)
- Red Hat Enterprise Linux 8 and 9 (as Satellite host platforms)
Discovery Timeline
- 2026-10-01 - CVE-2026-12423 published to NVD
- 2026-10-07 - Public discussion on the Openwall OSS-Security list
- 2026-10-08 - Last updated in NVD database
Technical Details for CVE-2026-12423
Vulnerability Analysis
Foreman exposes the /unattended/provision endpoint to deliver kickstart templates to hosts during bare-metal or virtual machine provisioning. The endpoint relies on a one-time token to authenticate the requesting host. Instead of validating the token presented in the HTTP request, Foreman queries the database to confirm that an unexpired provisioning token exists for the target host. When any host is mid-provisioning, that record exists by design, and the authorization check succeeds for every caller.
The resulting kickstart content often includes root password hashes, SSH keys, repository credentials, registration tokens, and post-install scripts. Disclosure of this material gives an attacker a direct path to compromise newly built systems or impersonate them during registration.
Root Cause
The defect sits in the valid_host_token? method inside host_verifier.rb. The method evaluates database state (presence of an unexpired token record) rather than request state (the token value in the URL or headers). This conflates "a token exists for this host" with "the caller presented that token," producing a Missing Authentication for Critical Function condition [CWE-306].
Attack Vector
Exploitation requires only network reachability to the Satellite or Foreman web interface. An attacker enumerates hosts currently in a provisioning state and issues an unauthenticated GET request to /unattended/provision for the targeted host. No token, credential, or user interaction is required. The server returns the full kickstart template rendered for that host.
For technical specifics, see the Red Hat security advisory for CVE-2026-12423 and the Openwall OSS-Security discussion.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-12423
Indicators of Compromise
- Requests to /unattended/provision or related unattended endpoints that lack a token query parameter or arrive from source addresses outside the provisioning network.
- Successful HTTP 200 responses to /unattended/* paths for hosts that are not scheduled for build at the time of the request.
- Repeated enumeration of host identifiers against the Satellite web interface from a single source.
Detection Strategies
- Parse Foreman and Apache access logs for requests to /unattended/provision, /unattended/finish, and /unattended/built and correlate against the host build schedule in Satellite.
- Alert when kickstart templates are served to clients whose source IP does not match the provisioning subnet or expected PXE boot range.
- Baseline normal provisioning traffic volume per subnet; investigate deviations that coincide with host build windows.
Monitoring Recommendations
- Forward Satellite and Foreman web logs to a centralized analytics platform and retain them for the full provisioning window plus 30 days.
- Monitor outbound egress from the Satellite server for unexpected template retrieval patterns during active builds.
- Audit the Foreman audit log for host status transitions that do not correspond to a legitimate provisioning job.
How to Mitigate CVE-2026-12423
Immediate Actions Required
- Apply the Red Hat Satellite errata referenced below to all Satellite servers and Capsules without delay.
- Restrict network access to the Satellite web interface so that only trusted provisioning subnets can reach /unattended/* endpoints.
- Rotate any secrets, SSH keys, and registration tokens embedded in kickstart templates that may have been served during the exposure window.
Patch Information
Red Hat has published fixed packages in the following advisories: RHSA-2026:74503, RHSA-2026:74504, RHSA-2026:74505, and RHSA-2026:74506. Full tracking data is available in the Red Hat Bugzilla entry #2488956. Upstream Foreman users should update to the patched release referenced in the vendor advisory.
Workarounds
- Place the Satellite web interface behind a reverse proxy that enforces source-IP allowlisting for /unattended/* routes until patches are applied.
- Narrow provisioning windows so that hosts remain in the build state for the minimum time required, reducing the exposure period for valid database tokens.
- Review kickstart templates and remove or externalize sensitive values that are not required for first boot.
# Example Apache snippet to restrict /unattended/ to the provisioning subnet
<Location "/unattended/">
Require ip 10.20.30.0/24
</Location>
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

