In sshd in OpenSSH through 10.6, in certain environments such as QNX 6 and SCO OpenServer 5, sshd-session can unexpectedly have root privileges. This is related to the GatewayPorts and StreamLocalForwarding configuration options, and lack of support for file-descriptor passing and unprivileged allocation of PTY devices.
Exploitability
AV:LAC:HPR:NUI:NScope
S:UImpact
C:NI:LA:N2.9/CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NOther