# 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: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-11-29T23:30:39.857Z
- Modified: 2026-11-30T00:17:58.563Z
- Weaknesses: CWE-243
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Net-Server: up to 2.018

## References

- <https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm> (technical-description)
- <https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124299-r1.patch> (patch)

## Sources

- CVE List: [CVE-2026-124299](https://www.cve.org/CVERecord?id=CVE-2026-124299), CVE Terms of Use, modified 2026-11-29
- NVD: [CVE-2026-124299](https://nvd.nist.gov/vuln/detail/CVE-2026-124299), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-124299 · Whole record: https://cve.day/CVE-2026-124299.json · Rebuilt by cve.day 2026-11-30T00:32:38.573Z
