Net::Server versions through 2.018 for Perl keep root's group privileges after the privilege drop when user is set without group
Summary
| CVE | CVE-2026-124298 |
|---|---|
| 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 keep root's group privileges after the privilege drop when user is set without group. When 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. Code 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. |
Risk And Classification
Problem Types: CWE-271 | CWE-271 CWE-271 Privilege Dropping / Lowering Errors
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-124298-r1.patch | 9b29abf9-4ab0-4765-b253-1875cd9b441e | security.metacpan.org | |
| metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pod | 9b29abf9-4ab0-4765-b253-1875cd9b441e | 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, set group explicitly whenever user is set.
There are currently no legacy QID mappings associated with this CVE.