{"api_version":"1","generated_at":"2026-11-30T01:20:07+00:00","cve":"CVE-2026-124292","urls":{"html":"https://cve.report/CVE-2026-124292","api":"https://cve.report/api/cve/CVE-2026-124292.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-124292","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-124292"},"summary":{"title":"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","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.\n\nA 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.\n\nAn 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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-11-30 00:17:57","updated_at":"2026-11-30 00:17:57"},"problem_types":["CWE-59","CWE-59 CWE-59 Improper Link Resolution Before File Access"],"metrics":[],"references":[{"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm","name":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Daemonize.pm","name":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Daemonize.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/HTTP.pm","name":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/HTTP.pm","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124292-r1.patch","name":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124292-r1.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-124292","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124292","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[{"source":"CNA","title":"","value":"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.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Net::Server"],"packageName":"Net-Server","packageURL":"pkg:cpan/Net-Server","programFiles":["lib/Net/Server.pm","lib/Net/Server/Daemonize.pm","lib/Net/Server/HTTP.pm"],"programRoutines":[{"name":"Net::Server::initialize_logging"},{"name":"Net::Server::post_configure"},{"name":"Net::Server::post_bind"},{"name":"Net::Server::Daemonize::create_pid_file"},{"name":"Net::Server::HTTP::_init_access_log"}],"repo":"https://github.com/rhandom/perl-net-server","versions":[{"lessThanOrEqual":"2.018","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"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.\n\nA 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.\n\nAn 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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","description":"CWE-59 Improper Link Resolution Before File Access","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-29T23:28:56.774Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["technical-description"],"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm"},{"tags":["technical-description"],"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Daemonize.pm"},{"tags":["technical-description"],"url":"https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/HTTP.pm"},{"tags":["patch"],"url":"https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124292-r1.patch"}],"source":{"discovery":"UNKNOWN"},"title":"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","workarounds":[{"lang":"en","value":"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."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-124292","datePublished":"2026-11-29T23:28:56.774Z","dateReserved":"2026-11-07T11:59:04.174Z","dateUpdated":"2026-11-29T23:28:56.774Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 00:17:57","lastModifiedDate":"2026-11-30 00:17:57","problem_types":["CWE-59","CWE-59 CWE-59 Improper Link Resolution Before File Access"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"124292","Ordinal":"1","Title":"Net::Server versions through 2.018 for Perl allow the run-as acc","CVE":"CVE-2026-124292","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"124292","Ordinal":"1","NoteData":"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.\n\nA 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.\n\nAn 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.","Type":"Description","Title":"Net::Server versions through 2.018 for Perl allow the run-as acc"}]}}}