freenode

← CVE tracker

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

Severity
critical CVSS 9.1 (v3.1)
Weakness
CWE-243 Creation of chroot Jail Without Changing Working Directory
Published
29 November 2026 by CPANSec
First seen on our lists
29 November 2026
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. The working directory stays wherever the server was started, outside the new root. Relative paths, and paths climbing from it with .., resolve against the real filesystem. A request handler that opens a request-influenced relative path can read or write files outside the jail with the run-as user's permissions, which the chroot option exists to prevent.

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists