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
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.
| Product | Versions |
|---|---|
| Red Hat Satellite 6.16 for RHEL 8 Red Hat | 0:3.12.0.26-1.el8sat and later Not Affected |
| Red Hat Satellite 6.16 for RHEL 8 Red Hat | 0:3.12.0.26-1.el8sat and later Not Affected |
| Red Hat Satellite 6.16 for RHEL 8 Red Hat | 0:3.12.0.26-1.el8sat and later Not Affected |
| Red Hat Satellite 6.16 for RHEL 9 Red Hat | 0:3.12.0.26-1.el9sat and later Not Affected |
| Red Hat Satellite 6.16 for RHEL 9 Red Hat | 0:3.12.0.26-1.el9sat and later Not Affected |
| Red Hat Satellite 6.16 for RHEL 9 Red Hat | 0:3.12.0.26-1.el9sat and later Not Affected |
| Red Hat Satellite 6.17 for RHEL 9 Red Hat | 0:3.14.0.26-1.el9sat and later Not Affected |
| Red Hat Satellite 6.17 for RHEL 9 Red Hat | 0:3.14.0.26-1.el9sat and later Not Affected |
| Red Hat Satellite 6.17 for RHEL 9 Red Hat | 0:3.14.0.26-1.el9sat and later Not Affected |
| Red Hat Satellite 6.18 for RHEL 9 Red Hat | 0:3.16.0.29-1.el9sat and later Not Affected |
| Red Hat Satellite 6.18 for RHEL 9 Red Hat | 0:3.16.0.29-1.el9sat and later Not Affected |
| Red Hat Satellite 6.18 for RHEL 9 Red Hat | 0:3.16.0.29-1.el9sat and later Not Affected |
| Red Hat Satellite 6.19 for RHEL 9 Red Hat | 0:3.18.0.19-1.el9sat and later Not Affected |
| Red Hat Satellite 6.19 for RHEL 9 Red Hat | 0:3.18.0.19-1.el9sat and later Not Affected |
| Red Hat Satellite 6.19 for RHEL 9 Red Hat | 0:3.18.0.19-1.el9sat and later Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 4.3 Medium | redhat |
Weaknesses
- CWE-639 Authorization Bypass Through User-Controlled Key
References
- RHSA-2026:100120Vendor Advisory
- RHSA-2026:99949Vendor Advisory
- RHSA-2026:99950Vendor Advisory
- RHSA-2026:99952Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-86324Vulnerability Database
- RHBZ#2529291Issue Tracker
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.