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

State
Published
Severity
Not Scored
Published
Nov 29, 2026
Updated
Nov 29, 2026
Reserved
Nov 7, 2026

Read the record on cve.org

Description

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.

ProductVersions
Net-Server2.018 and earlier Affected

Weaknesses

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

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.