Bug 2585921 (CVE-2026-124299)

Summary: CVE-2026-124299 perl-net-server: Net::Server: Unauthorized file access outside chroot jail via relative paths
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Net::Server. When configuring a restricted directory environment (a chroot jail), the server changes the root directory without updating its current working directory. As a result, relative paths continue to resolve against the underlying host filesystem. An attacker can exploit this flaw by supplying requests that process relative file paths to read or write files outside the restricted jail with the permissions of the server process.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.