CVE-2026-124306: Net::Server::HTTP versions through 2.018 for Perl allow a remote client to reach an app handler that a reverse proxy blocks, via dot segments that app dispatch does not remove Robert Rothenberg 29 Nov 2026 23:40 UTC

========================================================================
CVE-2026-124306                                      CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-124306

   Distribution:  Net-Server
       Versions:  through 2.018
       MetaCPAN:  https://metacpan.org/dist/Net-Server
       VCS Repo:  https://github.com/rhandom/perl-net-server

Net::Server::HTTP versions through 2.018 for Perl allow a remote client
to reach an app handler that a reverse proxy blocks, via dot segments
that app dispatch does not remove

Description
-----------
Net::Server::HTTP versions through 2.018 for Perl allow a remote client
to reach an app handler that a reverse proxy blocks, via dot segments
that app dispatch does not remove.

The app setting maps path prefixes to CGI scripts or code references.
Dispatch matches each prefix against the request path as received,
without removing "." and ".." segments, so GET /admin/../pub runs the
handler configured for /admin.

Where a reverse proxy enforces access rules on the normalised path and
forwards the original request path, a remote client can run a handler
the proxy was meant to block.

Problem types
-------------
- CWE-436 Interpretation Conflict

Workarounds
-----------
No fixed release is available. Apply the patch. For deployments that
cannot apply the patch, have the reverse proxy forward the normalised
request path, or reject requests whose path contains dot segments.

References
----------
https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/HTTP.pm
https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124306-r1.patch