CVE-2026-124298
not scored yetNet::Server versions through 2.018 for Perl keep root's group privileges after the privilege drop when user is set without group
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.
- Published
- 30 Nov 2026
- Last modified
- 2 Dec 2026
- Assigned by
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
- NVD status
- Awaiting Analysis
- Weakness
- CWE-271
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://cpan.org/modules | Net-Server | <= 2.018 |
References
- https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm · technical-description
- https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pod · technical-description
- https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124298-r1.patch · patch
History
- 2 Dec 2026 19:17 UTC · NVD: status Received → Awaiting Analysis
- 30 Nov 2026 00:41 UTC · NVD: first stored (published 30 Nov 2026)
- 29 Nov 2026 23:46 UTC · CVE List: first stored (published 29 Nov 2026)