Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-124298— Net::Server versions through 2.018 for Perl keep root's group privileges after the privilege drop when user is set without group

Quick assessment

Affected
CVE-2026-124298
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Perl 的 Net::Server 版本(2.018 及更早)在仅设置了 user 而未设置 group 时,在权限降级后会继续保留 root 的组权限。 当 group 未设置时,post_bind 会把它默认为当前进程的组列表。对于从 root 启动的服务器而言,这一列表就是 root 自身的组,因此 gid 的切换会被跳过,只有 uid 发生变化。真实 gid、有效 gid 和保存的 gid 都保持为 0,且起始进程的附加组也被保留。不过文档称 group 默认为 nobody。 在权限降级后运行于服务器中

AI Predicted 6.5 Difficulty: Moderate

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

I. Basic Information for CVE-2026-124298

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Net::Server versions through 2.018 for Perl keep root's group privileges after the privilege drop when user is set without group
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
特权放弃/降低错误
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
- - 0 ~ 2.018 -

II. Public POCs for CVE-2026-124298

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-124298

请登录查看更多情报信息。

Other References for CVE-2026-124298 (3)

IV. Related Vulnerabilities