# CVE-2026-124292: Net::Server versions through 2.018 for Perl allow the run-as account to take ownership of any file via a symlink at the log or pid file path, which is opened and chowned as root at startup

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.33% (percentile 28, 2026-12-01)
- **CWE:** CWE-59
- **Published:** 2026-11-29T23:28:56.774Z
- **Modified:** 2026-11-30T00:17:57.770Z

> **AI summary (AI-generated, claude-haiku-5-5):** A local account that can write to the log or pid file directory can use symlinks to make root chown arbitrary files to itself in Net::Server for Perl through version 2.018.

## Who should check

- Anyone running Net-Server \<= 2.018

## Description

Net::Server versions through 2.018 for Perl allow the run-as account to take ownership of any file via a symlink at the log or pid file path, which is opened and chowned as root at startup.

A server started as root with a user to drop to opens log\_file, pid\_file and, in Net::Server::HTTP, access\_log\_file before the drop, then chowns each path to the run-as user. Both the open and the chown follow a symlink. Root creates a missing target, or opens an existing one for the log files, and the chown hands it to the run-as account.

An account that can write to the directory holding these files, typically the run-as account itself, gains ownership of any file it links to at the next start as root.

## Affected and fixed versions

- Net-Server: \<= 2.018 (cvelist)

## Mitigation

- Vendor workaround: No fixed release is available. Apply the patch. For deployments that cannot apply the patch, keep log\_file, pid\_file and access\_log\_file in directories that only root can write to.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-124292. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-124292.md
Affected: Net-Server <= 2.018
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Net-Server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-124292 being exploited?

There is no confirmed exploitation: CVE-2026-124292 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-12-01).

### How serious is CVE-2026-124292?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-124292?

Net-Server \<= 2.018.

### Is there a fix for CVE-2026-124292?

No fixed version is listed in the sources yet. Vendor workaround: No fixed release is available. Apply the patch. For deployments that cannot apply the patch, keep log\_file, pid\_file and access\_log\_file in directories that only root can write to.

### How do I check if I'm affected by CVE-2026-124292?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124292-r1.patch>
- article: <https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm>
- article: <https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Daemonize.pm>
- article: <https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/HTTP.pm>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-124292>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-124292> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-124292>
