CWE-243: Creation of chroot Jail Without Changing Working Directory

The product uses the chroot() system call to create a jail, but it does not change the working directory afterward.

1 published CVE records name this weakness. Abstraction: Variant. Status: Draft. CWE-243 at MITRE

CVETitleCVSSEPSSPublished
CVE-2026-124299 Net::Server versions through 2.018 for Perl allow file access outside the chroot jail via relative paths when post_bind calls chroot without chdir 9.1 critical 0.27% 29 Nov 2026