CVE-2026-124294: Net::Server versions through 2.018 for Perl admit unlisted clients when an allow rule contains top-level alternation, as allow_deny anchors only the first and last branch

Published Nov 29, 2026
·
Updated

Net::Server versions through 2.018 for Perl admit unlisted clients when an allow rule contains top-level alternation, as allowdeny anchors only the first and last branch.

Each allow and deny rule is matched against the peer address, and against the peer hostname under reverselookups, as /^$$/. In a rule with an ungrouped |, the ^ binds to the first branch and the $ to the last, so the rule 10\.0\.0\.1|10\.0\.0\.2 matches any address that starts with 10.0.0.1 or ends with 10.0.0.2.

A remote client at an address the operator never listed, such as 10.0.0.15 or 110.0.0.2, passes the allow check. Under double reverselookups, a hostname rule of the same shape also admits a PTR name such as a.example.attacker.test.

Affected Software

1 affected component
cpan/Net::Server<=2.018

Event History

Nov 29, 2026
CVE Published
via MITRE·11:29 PM
Data Sourced
via MITRE·11:29 PM
DescriptionWeakness
Nov 30, 2026
Data Sourced
via NVD·12:17 AM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using Net::Server through version 2.018 are exposed if an allow rule contains an ungrouped top-level | alternation. The issue applies to address rules, and also to hostname rules when reverse_lookups is enabled; hostname-based exposure under double reverse_lookups can involve attacker-controlled PTR names.

2

What must an attacker be able to do?

An attacker only needs to connect from a peer address or, for affected hostname rules under double reverse_lookups, present a matching PTR hostname. The address or hostname does not need to be explicitly listed if it matches an incorrectly anchored alternation branch.

3

How can I identify affected rules?

Review allow rules for ungrouped alternation, such as 10\.0\.0\.1|10\.0\.0\.2. Such a rule can match values beginning with the first branch or ending with the last branch, rather than matching only either complete value.

4

What can be done before applying the available patch?

Avoid ungrouped | in allow rules. Group alternation so that anchoring applies to the entire expression, and review hostname allow rules especially where reverse_lookups or double reverse_lookups is enabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203