# CVE-2026-86324: Foreman: authorization flaw in the foreman::controller::useraware handling used by api::v2::sshkeyscontroller

- Severity: Medium 4.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-11-12T20:19:57.526Z
- Modified: 2026-11-26T22:36:50.816Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- foreman: no versions given (not affected: from 0:3.12.0.26-1.el8sat before *; from 0:3.12.0.26-1.el9sat before *; from 0:3.14.0.26-1.el9sat before *; from 0:3.16.0.29-1.el9sat before *; from 0:3.18.0.19-1.el9sat before *)

## References

- <https://access.redhat.com/errata/RHSA-2026:100120> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:99949> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:99950> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:99952> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-86324> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2529291> (issue-tracking)

## Sources

- CVE List: [CVE-2026-86324](https://www.cve.org/CVERecord?id=CVE-2026-86324), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2026-86324](https://nvd.nist.gov/vuln/detail/CVE-2026-86324), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-86324 · Whole record: https://cve.day/CVE-2026-86324.json · Rebuilt by cve.day 2026-11-26T22:42:08.082Z
