{"api_version":"1","generated_at":"2026-11-30T02:34:04+00:00","cve":"CVE-2026-120361","urls":{"html":"https://cve.report/CVE-2026-120361","api":"https://cve.report/api/cve/CVE-2026-120361.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-120361","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-120361"},"summary":{"title":"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","description":"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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-11-30 01:17:03","updated_at":"2026-11-30 01:17:03"},"problem_types":["CWE-95","CWE-95 CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')"],"metrics":[],"references":[{"url":"https://metacpan.org/release/LEMBARK/FindBin-libs-v5.4.0/changes","name":"https://metacpan.org/release/LEMBARK/FindBin-libs-v5.4.0/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-120361","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120361","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to FindBin-libs 5.4.0 or later.","time":"","lang":"en"}],"workarounds":[],"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":["FindBin::Bin"],"packageName":"FindBin-libs","packageURL":"pkg:cpan/FindBin-libs","programFiles":["version/v5.40/lib/FindBin/Bin.pm"],"repo":"https://gitlab.com/lembark/findbin-libs","versions":[{"lessThan":"5.4.0","status":"affected","version":"4.0.1","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-95","description":"CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-30T00:26:32.269Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["release-notes"],"url":"https://metacpan.org/release/LEMBARK/FindBin-libs-v5.4.0/changes"}],"solutions":[{"lang":"en","value":"Upgrade to FindBin-libs 5.4.0 or later."}],"source":{"discovery":"UNKNOWN"},"title":"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","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-120361","datePublished":"2026-11-30T00:26:32.269Z","dateReserved":"2026-11-01T21:57:40.839Z","dateUpdated":"2026-11-30T00:26:32.269Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 01:17:03","lastModifiedDate":"2026-11-30 01:17:03","problem_types":["CWE-95","CWE-95 CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"120361","Ordinal":"1","Title":"FindBin::Bin versions from 4.0.1 before 5.4.0 for Perl execute c","CVE":"CVE-2026-120361","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"120361","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"FindBin::Bin versions from 4.0.1 before 5.4.0 for Perl execute c"}]}}}