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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the 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.

History

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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-11-29T23:30:39.857Z

Reserved: 2026-11-07T12:00:06.247Z

Link: CVE-2026-124299

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-30T00:17:58.563

Modified: 2026-11-30T00:17:58.563

Link: CVE-2026-124299

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-30T00:30:03Z

Weaknesses