CVE-2025-30672 Details
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.
A vulnerability in Mite for Perl, affecting versions prior to 0.013000, allows for arbitrary code execution by adding the current working directory to the @INC path. This could lead to the execution of malicious files placed in the working directory, instead of the intended ones. The issue arises because Perl's module loading mechanism can be manipulated to load code from locations controlled by an attacker.
Users can update to Mite version 0.013000 or later, which removes the current working directory from the @INC path. Instructions for updating can be found on the Mite MetaCPAN page.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 1, 2025CISA-ADP
Assessed Apr 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blogs.perl.org/users/todd_rinaldo/2016/11/what-happened-to-dot-in-inc.html | CPANSec | Technical Description |
| https://metacpan.org/release/TOBYINK/Mite-0.013000/changes | CPANSec | Release NotesVendor |
| https://perldoc.perl.org/perlrun#PERL_USE_UNSAFE_INC | CPANSec | |
| https://wiki.gentoo.org/wiki/Project:Perl/Dot-In-INC-Removal | CPANSec | Remedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-427 | Uncontrolled Search Path Element | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Toby Inkster Mite | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 1, 2025 | CVE Modified | CISA-ADP |
| Apr 1, 2025 | New CVE Received | CPANSec |
Volerion