CVE-2026-86324
JSON

4.3medium

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

Severity
4.3medium CVSS:3.1 by redhat
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
foremanNot specified
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 *
CVE List

Classification

CWE-639

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-86324 changed 2026-11-26CVE Terms of Use
NVDCVE-2026-86324 changed 2026-11-24Public domain