CVE-2026-124292 (GCVE-0-2026-124292)

Vulnerability from cvelistv5 – Published: 2026-11-29 23:28 – Updated: 2026-12-03 21:36
VLAI
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
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-12-03 21:35 UTC
CWE
  • CWE-59 - Improper Link Resolution Before File Access
Assigner
CPANSec CNA under the redhat root
CNA scorecard C 60/100 over 377 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Affected: 0 , ≤ 2.018 (custom)
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2026-124292",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-12-03T21:35:36.302536Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-12-03T21:36:03.312Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "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-12-03T21:36:03.312Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-124292",
      "date": "2026-12-04",
      "epss": "0.00339",
      "percentile": "0.29268"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-01T01:20:58.000Z",
      "cve": "CVE-2026-124292",
      "id": "msrc_CVE-2026-124292",
      "initial_release_date": "2026-12-01T01:20:58.000Z",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "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",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-124292.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
          }
        ],
        "cveTags": [],
        "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."
          }
        ],
        "id": "CVE-2026-124292",
        "lastModified": "2026-12-03T22:17:29.150",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-124292",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-12-03T21:35:36.302536Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-11-30T00:17:57.770",
        "references": [
          {
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
            "url": "https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server.pm"
          },
          {
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
            "url": "https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Daemonize.pm"
          },
          {
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
            "url": "https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/HTTP.pm"
          },
          {
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
            "url": "https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124292-r1.patch"
          }
        ],
        "sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-59"
              }
            ],
            "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
            "type": "Secondary"
          }
        ]
      }
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "cvssV3_1": {
                  "attackComplexity": "LOW",
                  "attackVector": "LOCAL",
                  "availabilityImpact": "HIGH",
                  "baseScore": 7.8,
                  "baseSeverity": "HIGH",
                  "confidentialityImpact": "HIGH",
                  "integrityImpact": "HIGH",
                  "privilegesRequired": "LOW",
                  "scope": "UNCHANGED",
                  "userInteraction": "NONE",
                  "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                  "version": "3.1"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-124292",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-03T21:35:36.302536Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-03T21:35:57.664Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "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-12-03T21:36:03.312Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Workarounds

CNA · CPANSec
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.

Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.