CVE-2026-124298
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Affected 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | libnet-server-perl |
Affected | — |
| sid | libnet-server-perl |
Affected | — |
| forky | libnet-server-perl |
Affected | — |
| bookworm | libnet-server-perl |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
References
- https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm
- https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pod
- https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124298-r1.patch
- https://www.suse.com/security/cve/CVE-2026-124298.html
- https://security-tracker.debian.org/tracker/CVE-2026-124298
CWEs
CWE-271
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.