What’s Vulnerable › Vulnerabilities
CVE-2025-30672: Mite for Perl generates code with an untrusted search path vulnerability
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-01 · updated 2026-06-17
- Weakness: CWE-427
Description
Mite for Perl before 0.013000 generates code with the current working directory ('.') added to the @INC path similar to CVE-2016-1238. If an attacker can place a malicious file in current working directory, it may be loaded instead of the intended file, potentially leading to arbitrary code execution. This affects the Mite distribution itself, and other distributions that contain code generated by Mite.
Affected products
- TOBYINK Mite: before 0.013000 — fixed in 0.013000
How to fix
Upgrade to a fixed version: TOBYINK Mite 0.013000. Check the vendor advisory for mitigations.
References
- https://blogs.perl.org/users/todd_rinaldo/2016/11/what-happened-to-dot-in-inc.html
- https://metacpan.org/release/TOBYINK/Mite-0.013000/changes
- https://perldoc.perl.org/perlrun#PERL_USE_UNSAFE_INC
- https://wiki.gentoo.org/wiki/Project:Perl/Dot-In-INC-Removal
Get alerted when CVE-2025-30672 or the next vulnerability affects your stack