Bug 2585921 (CVE-2026-124299) - CVE-2026-124299 perl-net-server: Net::Server: Unauthorized file access outside chroot jail via relative paths
Summary: CVE-2026-124299 perl-net-server: Net::Server: Unauthorized file access outsid...
Keywords:
Status: NEW
Alias: CVE-2026-124299
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-29 23:41 UTC by OSIDB Bzimport
Modified: 2026-11-29 23:58 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-29 23:41:56 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.