Net::Server versions through 2.018 for Perl contain a vulnerability that allows file access outside the intended chroot jail. This occurs because the post_bind function calls chroot without changing the working directory, leaving it outside the new root. As a result, relative paths can resolve to locations outside the jail, enabling a request handler to read or write files on the real filesystem with the permissions of the run-as user.