Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-86324
VULNERABILITY

CVE-2026-86324

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
4.3
Severity
MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Timeline

Published
Nov 12, 2026 21:17
Modified
Nov 13, 2026 17:17
Last observed
Nov 13, 2026 13:00

CWE

CWE-639

References