CVE-2026-124298
publishedNet::Server versions through 2.018 for Perl keep root's group privileges after the privilege drop when user is set without group
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Net-Server0 through 2.018 · Other versions: unaffected | Affected | Not stated | CPANSec |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Net-Server | 0 through 2.018 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-271 CWE-271 Privilege Dropping / Lowering Errors
References
3Provider assertions
1CPANSec · cna
Net::Server versions through 2.018 for Perl keep root's group privileges after the privilege drop when user is set without group
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d6d6916dc4d9ab98c8912624a7084e7d40b8a90ea9df9065593f6fa2a4331fc6
- Ingested
- 29 Nov 2026, 23:31:46 UTC
- Source record
- Official CVE record