not scored yet
CVE-2026-120361
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. The 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. An attacker who can name a directory can run code as any user who runs a script inside it.
Details
- Severity
- not scored yet
- KEV
- no
- EPSS
- 0.00398 (percentile 0.25645), as of 2026-11-30
- Fix
- available
- Published
- First seen
- Updated
Sources
- cve.org · license: CVE Terms of Use · first seen · https://www.cve.org/CVERecord?id=CVE-2026-120361
- nvd · license: Public domain (NIST NVD) · first seen · https://nvd.nist.gov/vuln/detail/CVE-2026-120361
- osv · license: CC-BY-4.0 · first seen · https://osv.dev/vulnerability/CVE-2026-120361
Timeline
- FIX (13 hours ago)fix: unknown → available
- NEW (16 hours ago)