CVE-2026-124299
publishedNet::Server versions through 2.018 for Perl allow file access outside the chroot jail via relative paths when post_bind calls chroot without chdir
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Net-Server0 through 2.018 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Net-Server | 0 through 2.018 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-243 CWE-243 Creation of chroot Jail Without Changing Working Directory
References
2Provider assertions
1CPANSec · cna
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
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3185e8ddcc10da84683a0b50a54faecbf9ea10b2235b66f4a2a8bf2081a049ae
- Ingested
- 29 Nov 2026, 23:41:53 UTC
- Source record
- Official CVE record