Description

A flaw was found in Foreman’s Api::V2::SshKeysController, where the target user is resolved through Foreman::Controller::UserAware#find_user using User.find(params[:user_id]) without enforcing the required parent-user authorization check. An attacker with the create_ssh_keys permission can exploit this authorization bypass by submitting POST /api/v2/users/:user_id/ssh_keys with another user’s ID and injecting their own public SSH key into the targeted account. The injected key is subsequently propagated to hosts provisioned by that user, potentially allowing the attacker to authenticate to and gain SSH access to the victim’s managed hosts.

Severity (CVSS)

Base score4.3
SeverityMedium
VersionCVSS 3.1
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Provided byCNA

Weaknesses

  • CWE-639 — Authorization Bypass Through User-Controlled Key

Affected products

VendorProductVersions
Red HatRed Hat Satellite 6.16 for RHEL 80:3.12.0.26-1.el8sat to <* [unaffected]
Red HatRed Hat Satellite 6.16 for RHEL 90:3.12.0.26-1.el9sat to <* [unaffected]
Red HatRed Hat Satellite 6.17 for RHEL 90:3.14.0.26-1.el9sat to <* [unaffected]
Red HatRed Hat Satellite 6.18 for RHEL 90:3.16.0.29-1.el9sat to <* [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 13 Nov 2026 08:05 UTC.