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.
Analysis and contextual insights are available on OpenCVE Cloud.
Vendor Workaround
No fixed release is available. Apply the patch. For deployments that cannot apply the patch, start the server with the chroot directory as its working directory.
Tracking
Sign in to view the affected projects.
No advisories yet.
Sun, 29 Nov 2026 23:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | 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 | |
| Weaknesses | CWE-243 | |
| References |
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-11-29T23:30:39.857Z
Reserved: 2026-11-07T12:00:06.247Z
Link: CVE-2026-124299
No data.
Status : Received
Published: 2026-11-30T00:17:58.563
Modified: 2026-11-30T00:17:58.563
Link: CVE-2026-124299
No data.
OpenCVE Enrichment
Updated: 2026-11-30T00:30:03Z
-
CWE-243
Creation of chroot Jail Without Changing Working Directory