Phusion Passenger before 4.0.38 allows local users to write to certain files and directories via a symlink attack on 1. control_process.pid or 2. a generation-* file.
control_process.pid