Skip to main content
No exploitation reportedAwaiting NVD analysis

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

No exploitation reported by the sources we read.

  • Published2026-11-30
  • WeaknessCWE-95

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-11-3000:26CVE publishedCNA

Versions per branch

Products declared by the CNA1 product

As CPANSec, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libfindbin-libs-perlUbuntu:26.10all versions · no fixed version listed
  • libfindbin-libs-perlUbuntu:26.04:LTSall versions · no fixed version listed
  • libfindbin-libs-perlUbuntu:24.04:LTSall versions · no fixed version listed
  • libfindbin-libs-perlUbuntu:22.04:LTSall versions · no fixed version listed
  • libfindbin-libs-perlUbuntu:20.04:LTSall versions · no fixed version listed
  • libfindbin-libs-perlUbuntu:18.04:LTSall versions · no fixed version listed
  • libfindbin-libs-perlUbuntu:16.04:LTSall versions · no fixed version listed
  • libfindbin-libs-perlDebian:14all versions · no fixed version listed

2 more package ranges on OSV.dev

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2026-11-30
Last modified
2026-12-04
NVD status
Received
GitHub advisory
GHSA-vhj3-wp66-fq7r

Frequently asked questions

What is 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. 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.

Is CVE-2026-120361 actively exploited?

Active exploitation of CVE-2026-120361 has not been confirmed. Its EPSS score was 0.4% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-120361?

CVE-2026-120361 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running libfindbin-libs-perl? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record