CVE-2026-124294
Received Received - Intake

Net::Server Perl Module Unauthorized Client Access via Alternation Rule

Vulnerability report for CVE-2026-124294, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-30

Last updated on: 2026-11-30

Assigner: CPANSec

Description

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. Each allow and deny rule is matched against the peer address, and against the peer hostname under reverse_lookups, 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 reverse_lookups, a hostname rule of the same shape also admits a PTR name such as a.example.attacker.test.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-30
Last Modified
2026-11-30
Generated
2026-11-30
AI Q&A
2026-11-30
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-777 The product uses a regular expression to perform neutralization, but the regular expression is not anchored and may allow malicious or malformed data to slip through.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Net::Server versions through 2.018 for Perl have a flaw in allow/deny rules with top-level alternation (|). The regex anchors ^ and $ only bind to the first and last branches, causing rules like 10\.0\.0\.1|10\.0\.0\.2 to match unintended addresses such as 10.0.0.15 or 110.0.0.2.

Detection Guidance

Check if your Perl Net::Server version is 2.018 or earlier. Inspect allow/deny rules in configuration files for top-level alternation (|) characters. Test rules like 10.0.0.1|10.0.0.2 against addresses such as 10.0.0.15 or 110.0.0.2 to see if they are incorrectly permitted.

Impact Analysis

This vulnerability allows unauthorized remote clients to bypass access controls. For example, an attacker could connect to a server even if their IP address was not explicitly allowed, potentially gaining unauthorized access to sensitive services or data.

Mitigation Strategies

Apply the provided patch from Resource 1 to update the allow_deny subroutine in Net::Server.pm. Ensure all allow/deny rules are wrapped in non-capturing groups to enforce exact matches. Review and correct any rules using top-level alternation to prevent unintended matches.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-124294. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...