{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0.1"
                  },
                  {
                    "fixed": "5.4.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "28871e0594035fd5f2dc38899156ec4749c93f5e"
            }
          ],
          "repo": "https://gitlab.com/lembark/findbin-libs",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-95"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120361.json"
  },
  "details": "FindBin::Bin versions from 4.0.1 before 5.4.0 for Perl execute code from the script's directory name via a string eval.\n\nThe module defines Bin by interpolating the script's directory, or the current directory for perl -e, into a single-quoted literal inside a string eval, without escaping. A single quote in any directory name ends the literal and the rest of the name is compiled as Perl code. FindBin::Bin is installed only on Perl 5.40 and later, and FindBin::libs loads it.\n\nAn attacker who can name a directory can run code as any user who runs a script inside it.",
  "id": "CVE-2026-120361",
  "modified": "2026-11-30T01:45:51.439162318Z",
  "published": "2026-11-30T00:26:32.269Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120361.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://gitlab.com/lembark/findbin-libs"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/LEMBARK/FindBin-libs-v5.4.0/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120361"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "FindBin::Bin versions from 4.0.1 before 5.4.0 for Perl execute code from the script's directory name via a string eval"
}