CVE-2026-5135: Foreman: foreman: unauthorized modification of host configurations via broken access control

Published Mar 27, 2026
·
Updated

A broken access control flaw was found in Foreman. This flaw allows an authenticated user with host-edit permissions to retarget an existing lookup value override to a different host by modifying the match field via nested host attributes, bypassing authorization checks. The injected values are served by the ENC/classification pipeline to configuration management tools, potentially resulting in unauthorized modification of managed host configurations across organization and location boundaries.

Authenticated Foreman account with edit rights on at least one host (edithosts permission). The attacker needs two requests: first to create a legitimate override on their own host, then to retarget its match field to the victim host's FQDN. A lookup key with fqdn in its path must exist.

Other sources

A flaw was found in Foreman. This broken access control vulnerability allows an authenticated user with host-edit permissions to retarget an existing lookup value override to a different host. This is achieved by modifying the match field through nested host attributes, effectively bypassing authorisation checks. The consequence is the potential for unauthorised modification of managed host configurations across different organisational and location boundaries.

MITRE

Affected Software

13 affected components
Red Hat Foreman>3.18.1<=3.18.2
Red Hat Foreman>3.18.2<=3.19.1
All of the following
redhat Satellite>=6.16<6.16.10
Any of the following
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
All of the following
redhat Satellite>=6.17<6.17.9
redhat Enterprise Linux=9.0
All of the following
redhat Satellite>=6.18<6.18.7
redhat Enterprise Linux=9.0
All of the following
redhat Satellite>=6.19<6.19.2
redhat Enterprise Linux=9.0
theforeman foreman<3.18.2
theforeman foreman>=3.19.0<3.19.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Foreman to a version that resolves this vulnerability.

    Fixed in 3.18.2Patch CVE-2026-5135
  2. Upgrade

    Upgrade Foreman to a version that resolves this vulnerability.

    Fixed in 3.18.2Patch CVE-2026-5136
  3. Upgrade

    Upgrade Foreman to a version that resolves this vulnerability.

    Fixed in 3.18.2Patch CVE-2026-5138
  4. Upgrade

    Upgrade Foreman to a version that resolves this vulnerability.

    Fixed in 3.19.1Patch CVE-2026-5142
  5. Compensating control

    Ensure only appropriately authorized users can edit hosts/host configuration lookups across organizational and location boundaries; the attacker requires an authenticated Foreman account with edit rights on at least one host (edit_hosts permission) and can retarget a lookup override by modifying the match field via nested host attributes.

Event History

Mar 27, 2026
Data Sourced
via Red Hat·01:27 PM
DescriptionSeverityAffected Software
Jul 1, 2026
CVE Published
via MITRE·02:08 PM
Data Sourced
via MITRE·02:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-5135?

The severity of CVE-2026-5135 is classified as medium with a score of 6.5.

2

How do I fix CVE-2026-5135?

To fix CVE-2026-5135, ensure that access control measures are updated to restrict host-edit permissions and validate modifications to nested host attributes.

3

What type of application is affected by CVE-2026-5135?

CVE-2026-5135 affects the Red Hat Foreman application.

4

What can an attacker exploit in CVE-2026-5135?

An attacker can exploit CVE-2026-5135 by using broken access controls to modify host configurations without proper authorization.

5

What are the potential impacts of CVE-2026-5135?

The potential impacts of CVE-2026-5135 include unauthorized modifications to host configurations and the injection of harmful values into system settings.

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