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
Summary
| CVE | CVE-2026-124294 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 00:17:58 UTC |
| Updated | 2026-11-30 00:17:58 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-777 | CWE-777 CWE-777 Regular Expression without Anchors
There are no known software configurations currently associated with this CVE in NVD or the CVE Program record.
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124294-r1.patch | 9b29abf9-4ab0-4765-b253-1875cd9b441e | security.metacpan.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
Workarounds
CNA: No fixed release is available. Apply the patch. For deployments that cannot apply the patch, wrap each allow rule that contains | in a group, such as (?:10\.0\.0\.1|10\.0\.0\.2), or use cidr_allow for address rules.
There are currently no legacy QID mappings associated with this CVE.