{"api_version":"1","generated_at":"2026-11-30T01:20:11+00:00","cve":"CVE-2026-124298","urls":{"html":"https://cve.report/CVE-2026-124298","api":"https://cve.report/api/cve/CVE-2026-124298.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-124298","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-124298"},"summary":{"title":"Net::Server versions through 2.018 for Perl keep root's group privileges after the privilege drop when user is set without group","description":"Net::Server versions through 2.018 for Perl keep root's group privileges after the privilege drop when user is set without group.\n\nWhen group is not set, post_bind defaults it to the current group list. In a server started as root that list is root's own, so the gid change is skipped and only the uid changes. The real, effective and saved gid stay 0, and the supplementary groups of the starting process are kept. The documentation says group defaults to nobody.\n\nCode running in the server after the drop, such as a compromised request handler, keeps access to files open to group 0 and to root's supplementary groups.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-11-30 00:17:58","updated_at":"2026-11-30 00:17:58"},"problem_types":["CWE-271","CWE-271 CWE-271 Privilege Dropping / Lowering Errors"],"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-124298-r1.patch","name":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124298-r1.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pod","name":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pod","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-124298","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124298","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, set group explicitly whenever user is set.","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::post_bind"}],"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 keep root's group privileges after the privilege drop when user is set without group.\n\nWhen group is not set, post_bind defaults it to the current group list. In a server started as root that list is root's own, so the gid change is skipped and only the uid changes. The real, effective and saved gid stay 0, and the supplementary groups of the starting process are kept. The documentation says group defaults to nobody.\n\nCode running in the server after the drop, such as a compromised request handler, keeps access to files open to group 0 and to root's supplementary groups."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-271","description":"CWE-271 Privilege Dropping / Lowering Errors","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-29T23:30:24.797Z","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":["technical-description"],"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pod"},{"tags":["patch"],"url":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124298-r1.patch"}],"source":{"discovery":"UNKNOWN"},"title":"Net::Server versions through 2.018 for Perl keep root's group privileges after the privilege drop when user is set without group","workarounds":[{"lang":"en","value":"No fixed release is available. Apply the patch. For deployments that cannot apply the patch, set group explicitly whenever user is set."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-124298","datePublished":"2026-11-29T23:30:24.797Z","dateReserved":"2026-11-07T11:59:56.993Z","dateUpdated":"2026-11-29T23:30:24.797Z","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-271","CWE-271 CWE-271 Privilege Dropping / Lowering Errors"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"124298","Ordinal":"1","Title":"Net::Server versions through 2.018 for Perl keep root's group pr","CVE":"CVE-2026-124298","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"124298","Ordinal":"1","NoteData":"Net::Server versions through 2.018 for Perl keep root's group privileges after the privilege drop when user is set without group.\n\nWhen group is not set, post_bind defaults it to the current group list. In a server started as root that list is root's own, so the gid change is skipped and only the uid changes. The real, effective and saved gid stay 0, and the supplementary groups of the starting process are kept. The documentation says group defaults to nobody.\n\nCode running in the server after the drop, such as a compromised request handler, keeps access to files open to group 0 and to root's supplementary groups.","Type":"Description","Title":"Net::Server versions through 2.018 for Perl keep root's group pr"}]}}}