Foreman: authorization flaw in the foreman::controller::useraware handling used by api::v2::sshkeyscontroller

State
Published
Severity
4.3 Medium
Published
Nov 12, 2026
Updated
Nov 26, 2026
Reserved
Sep 7, 2026

Read the record on cve.org

Description

A missing authorization check has been found in the find_user function in user_aware.rb of the SSH key API in the foreman package. The create action attaches a new public key to the user id in the request without checking that the caller may edit that user. A low-privileged network attacker or user who already holds permission to create SSH keys can add their key to another user's account. That key is then stored with the victim and can be used by features that export that user's SSH keys.

ProductVersions
Red Hat Satellite 6.16 for RHEL 8 Red Hat0:3.12.0.26-1.el8sat and later Not Affected
Red Hat Satellite 6.16 for RHEL 8 Red Hat0:3.12.0.26-1.el8sat and later Not Affected
Red Hat Satellite 6.16 for RHEL 8 Red Hat0:3.12.0.26-1.el8sat and later Not Affected
Red Hat Satellite 6.16 for RHEL 9 Red Hat0:3.12.0.26-1.el9sat and later Not Affected
Red Hat Satellite 6.16 for RHEL 9 Red Hat0:3.12.0.26-1.el9sat and later Not Affected
Red Hat Satellite 6.16 for RHEL 9 Red Hat0:3.12.0.26-1.el9sat and later Not Affected
Red Hat Satellite 6.17 for RHEL 9 Red Hat0:3.14.0.26-1.el9sat and later Not Affected
Red Hat Satellite 6.17 for RHEL 9 Red Hat0:3.14.0.26-1.el9sat and later Not Affected
Red Hat Satellite 6.17 for RHEL 9 Red Hat0:3.14.0.26-1.el9sat and later Not Affected
Red Hat Satellite 6.18 for RHEL 9 Red Hat0:3.16.0.29-1.el9sat and later Not Affected
Red Hat Satellite 6.18 for RHEL 9 Red Hat0:3.16.0.29-1.el9sat and later Not Affected
Red Hat Satellite 6.18 for RHEL 9 Red Hat0:3.16.0.29-1.el9sat and later Not Affected
Red Hat Satellite 6.19 for RHEL 9 Red Hat0:3.18.0.19-1.el9sat and later Not Affected
Red Hat Satellite 6.19 for RHEL 9 Red Hat0:3.18.0.19-1.el9sat and later Not Affected
Red Hat Satellite 6.19 for RHEL 9 Red Hat0:3.18.0.19-1.el9sat and later Not Affected

Weaknesses

  • CWE-639 Authorization Bypass Through User-Controlled Key

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.