CVE-2026-124298
Received Received - Intake

Privilege Escalation in Net::Server Perl Module

Vulnerability report for CVE-2026-124298, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-30

Last updated on: 2026-11-30

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-30
Last Modified
2026-11-30
Generated
2026-11-30
AI Q&A
2026-11-30
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-271 The product does not drop privileges before passing control of a resource to an actor that does not have those privileges.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Net::Server versions through 2.018 for Perl have a privilege escalation vulnerability where root's group privileges are retained after dropping privileges if the user is set without explicitly setting the group. When group is not specified, the server defaults to the current group list, which includes root's groups. This causes the gid to remain 0 and supplementary groups to stay active, allowing access to files restricted to those groups.

Detection Guidance

Check if Net::Server Perl modules through version 2.018 are installed. Inspect server configurations for services using Net::Server where user is set without group. Review process privileges with commands like ps aux | grep Net::Server or checking /proc/[pid]/status for real/effective/saved gid values. Look for unexpected group 0 (root) privileges in running processes.

Impact Analysis

This vulnerability allows code running in the server, such as a compromised request handler, to retain access to files open to group 0 (root) and root's supplementary groups. This could lead to unauthorized access to sensitive files or data, privilege escalation, or further exploitation of the system.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating compliance requirements for data protection standards like GDPR and HIPAA. Unauthorized access to protected files or data may result in data breaches, leading to legal penalties, reputational damage, and loss of trust.

Mitigation Strategies

Update Net::Server to the patched version. Ensure all Net::Server instances explicitly set both user and group options in configurations. Restart affected services after updates. Verify privilege dropping by checking process privileges post-restart to confirm gid is no longer 0.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-124298. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...