[4.0.2] Close unprivileged input and SSH escalation paths (cherry picked from commit 21b27c5aed)
21b27c5aed