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

Published Nov 29, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

This vulnerability arises in the Net::Server::HTTP Perl module, where request paths containing dot segments ('.' and '..') are not sanitized before dispatch. An attacker can construct an HTTP request such as GET /admin/../public to reach an application handler that a reverse proxy would normally block. The result is that code or content that resides under restricted prefixes can be invoked, allowing the attacker to run CGI scripts or access protected resources. The flaw is a broken reference validation weakness, identified as CWE‑436.

Affected Systems

The affected software is Net::Server::HTTP, a CPAN module for Perl. Versions up through 2.018, inclusive of earlier releases, are impacted. Any deployment that relies on these versions and forwards unauthenticated request paths to the application is at risk.

Risk and Exploitability

The issue can be exploited remotely via HTTP without authentication. The patch is not yet released, and the EPSS score is unavailable while KEV has no listing. In environments where a reverse proxy normalizes request paths before forwarding, the vulnerability is mitigated. Where the proxy forwards the raw path, the attacker can invoke the unauthorized handler directly.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Download and apply the patch for Net::Server::HTTP 2.018 from the Metacpan patch repository.
  • Reconfigure the reverse proxy to normalise request paths before forwarding, ensuring dot segments are resolved or removed.
  • Configure the reverse proxy to reject requests whose path contains dot segments.

Generated by OpenCVE AI on November 30, 2026 at 00:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title 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
Weaknesses CWE-436
References

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 29, 2026, 11:34 PM
Reserved
Nov 7, 2026, 12:01 PM
Status
Received
Published
Nov 30, 2026, 12:17 AM
Modified
Nov 30, 2026, 12:17 AM