Red HatCVE-2026-86324
Red Hat: insecure direct object reference
No fix yet
A flaw was found in Foreman’s Api::V2::SshKeysController, where the target user is resolved through Foreman::Controller::UserAware#find_user using User.find(params[:user_id]) without enforcing the required parent-user authorization check. An attacker with the create_ssh_keys permission can exploit this authorization bypass by submitting POST /api/v2/users/:user_id/ssh_keys with another user’s ID and injecting their own public SSH key into the targeted account. The injected key is subsequently propagated to hosts provisioned by that user, potentially allowing the attacker to authenticate to and gain SSH access to the victim’s managed hosts.
Affected versions
The source does not list versions here. See the source advisory for affected products and fixes.
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-639
- www.cve.org/CVERecord?id=CVE-2026-86324
- nvd.nist.gov/vuln/detail/CVE-2026-86324
- access.redhat.com/errata/RHSA-2026:100120
- access.redhat.com/errata/RHSA-2026:99949
- access.redhat.com/errata/RHSA-2026:99950
- access.redhat.com/errata/RHSA-2026:99952
- access.redhat.com/security/cve/CVE-2026-86324
- bugzilla.redhat.com/show_bug.cgi?id=2529291