Foreman: authorization flaw in the foreman::controller::useraware handling used by api::v2::sshkeyscontroller
- CVE-2026-86324
- GHSA-63px-3qh8-4j7v
- EUVD-2026-124677
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.
Text from the CVE.org record.
Affected
Red Hat Red Hat Satellite 6.16 for RHEL 8
- from 0:3.12.0.26-1.el8sat onwards: not affected
Red Hat Red Hat Satellite 6.16 for RHEL 9
- from 0:3.12.0.26-1.el9sat onwards: not affected
Red Hat Red Hat Satellite 6.17 for RHEL 9
- from 0:3.14.0.26-1.el9sat onwards: not affected
Red Hat Red Hat Satellite 6.18 for RHEL 9
- from 0:3.16.0.29-1.el9sat onwards: not affected
Red Hat Red Hat Satellite 6.19 for RHEL 9
- from 0:3.18.0.19-1.el9sat onwards: not affected
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.