{"api_version":"1","generated_at":"2026-11-30T01:20:09+00:00","cve":"CVE-2026-124294","urls":{"html":"https://cve.report/CVE-2026-124294","api":"https://cve.report/api/cve/CVE-2026-124294.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-124294","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-124294"},"summary":{"title":"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","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.\n\nEach 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.\n\nA 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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-11-30 00:17:58","updated_at":"2026-11-30 00:17:58"},"problem_types":["CWE-777","CWE-777 CWE-777 Regular Expression without Anchors"],"metrics":[],"references":[{"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm","name":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124294-r1.patch","name":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124294-r1.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-124294","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124294","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[{"source":"CNA","title":"","value":"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.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Net::Server"],"packageName":"Net-Server","packageURL":"pkg:cpan/Net-Server","programFiles":["lib/Net/Server.pm"],"programRoutines":[{"name":"Net::Server::allow_deny"}],"repo":"https://github.com/rhandom/perl-net-server","versions":[{"lessThanOrEqual":"2.018","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"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.\n\nEach 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.\n\nA 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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-777","description":"CWE-777 Regular Expression without Anchors","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-29T23:29:25.250Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["technical-description"],"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm"},{"tags":["patch"],"url":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124294-r1.patch"}],"source":{"discovery":"UNKNOWN"},"title":"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","workarounds":[{"lang":"en","value":"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."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-124294","datePublished":"2026-11-29T23:29:25.250Z","dateReserved":"2026-11-07T11:59:20.679Z","dateUpdated":"2026-11-29T23:29:25.250Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 00:17:58","lastModifiedDate":"2026-11-30 00:17:58","problem_types":["CWE-777","CWE-777 CWE-777 Regular Expression without Anchors"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"124294","Ordinal":"1","Title":"Net::Server versions through 2.018 for Perl admit unlisted clien","CVE":"CVE-2026-124294","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"124294","Ordinal":"1","NoteData":"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.\n\nEach 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.\n\nA 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.","Type":"Description","Title":"Net::Server versions through 2.018 for Perl admit unlisted clien"}]}}}