Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
CVE-2026-120361
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Perl 的 FindBin::Bin 模块从 4.0.1 到 5.4.0 之前的版本,通过字符串 eval 执行“脚本所在目录名”中的代码。 该模块通过把脚本所在目录(对于 则为当前目录)插入字符串 eval 内的单引号字面量中来定义 Bin,且不进行转义。目录名中的单引号会终止该字面量,目录名的其余部分将被编译为 Perl 代码。FindBin::Bin 仅在 Perl 5.40 及更新版本中安装,并且 FindBin::libs 会加载它。 攻击者若能够命名目录,就可以以运行该目录内脚本的任何用户的身份执行代

AI Predicted 7.8 Difficulty: Moderate

I. Basic Information for CVE-2026-120361

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability 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
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
动态执行代码中指令转义处理不恰当(Eval注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
- - 4.0.1 ~ 5.4.0 -

II. Public POCs for CVE-2026-120361

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-120361

请登录查看更多情报信息。

Other References for CVE-2026-120361 (1)

IV. Related Vulnerabilities