Security mailing lists by PureSourceCode

CVE-2026-120361

not scored yet

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

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
9b29abf9-4ab0-4765-b253-1875cd9b441e
NVD status
Received
Weakness
CWE-95
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://cpan.org/modules FindBin-libs >= 4.0.1, < 5.4.0 5.4.0

References

History

  • 30 Nov 2026 01:21 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 00:41 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.