{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2.1.0"
              },
              {
                "fixed": "2.2.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "09e9376288ddc3571f226883eb99753fecce818d"
            },
            {
              "fixed": "9931faa20d48fbd017c500a88f9236a1276c0ea9"
            },
            {
              "fixed": "2446a09ffb83fef71cc75c327bd6e4b1f007b885"
            }
          ],
          "repo": "https://github.com/perldancer/dancer2",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-6xw8-v24c-m783"
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93712.json"
  },
  "details": "Dancer2 versions from 2.1.0 before 2.2.0 for Perl serve files from outside public_dir via relative path segments in the File route handler.\n\nThe handler joins the request path onto public_dir without collapsing relative segments, and checks only that the result is a readable regular file. A request for `/../outside.txt` escapes public_dir, and percent-encoding the dots reaches the same file.\n\nThe handler is off by default. An application is affected once it names File in route_handlers and sets static_handler to 0, which otherwise refuses a dot segment before the route runs.\n\nAny file the worker process can read is served to an unauthenticated request, including the application's config.yml above public_dir.",
  "id": "CVE-2026-93712",
  "modified": "2026-09-23T03:30:45.965175503Z",
  "published": "2026-09-22T00:52:36.047Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/09/22/4"
    },
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93712.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/PerlDancer/Dancer2/security/advisories/GHSA-6xw8-v24c-m783"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-93712"
    },
    {
      "type": "FIX",
      "url": "https://github.com/PerlDancer/Dancer2/commit/2446a09ffb83fef71cc75c327bd6e4b1f007b885.patch"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/PerlDancer/Dancer2"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Dancer2 versions from 2.1.0 before 2.2.0 for Perl serve files from outside public_dir via relative path segments in the File route handler"
}