CVE-2026-5142 Foreman: foreman: cross-tenant private ssh key disclosure via taxonomy scoping bypass

Medium 6.5 Published Updated

Authenticated users can bypass taxonomy scoping to download private SSH keys from other organizations, exposing sensitive cross-tenant data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-5142?

CVE-2026-5142 is a medium-severity missing authorization vulnerability in Redhat Satellite, published on 1 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw was found in foreman. Authenticated users with 'view_keypairs' permission can bypass taxonomy scoping, allowing them to download private SSH (Secure Shell) keys from other organizations by directly querying key pair IDs. This vulnerability leads to cross-tenant data exposure in multi-tenant deployments, potentially compromising sensitive information.

Weakness: CWE-639

Which versions are affected by CVE-2026-5142?

It affects 2 products.

Products include Redhat Satellite, Theforeman Foreman.

How do I fix CVE-2026-5142?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-5142 being exploited?

There is no known exploitation of CVE-2026-5142 in the wild and no public exploit code.

All Redhat Satellite vulnerabilities

Sources

Also known as GHSA-h2gj-g5gx-f7qq.

Is CVE-2026-5142 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free