Authorization Bypass Through User-Controlled Key Affecting foreman-ec2 package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.25% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-FOREMANEC2-17795945
  • published2 Jul 2026
  • disclosed1 Jul 2026

Introduced: 1 Jul 2026

CVE-2026-5138  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 foreman-ec2.

NVD Description

Note: Versions mentioned in the description apply only to the upstream foreman-ec2 package and not the foreman-ec2 package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

A flaw was found in Foreman. An authenticated user with host-edit permissions could exploit a cross-tenant information disclosure vulnerability. This flaw occurs because the taxonomy_scope controller method does not properly validate organization and location IDs from nested request parameters, bypassing existing authorization checks. This allows the user to leak sensitive infrastructure metadata, including subnet topology, IP ranges, gateways, DNS servers, and VLAN IDs, from organizations and locations they are not authorized to access.

CVSS Base Scores

version 3.1