CVE-2025-30672

Mite for Perl generates code with an untrusted search path vulnerability

Published Apr 1, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

Version 0.013000 of Mite was released to address the issue. Users should update to the latest version, and regenerate the Mite files for any projects using the distribution.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-9060 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.
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Mite for Perl generates code with an untrusted search path vulnerability
Weaknesses CWE-427
References

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Apr 1, 2025, 6:28 PM
Reserved
Mar 24, 2025, 10:42 PM
Status
Deferred
Published
Apr 1, 2025, 2:15 AM
Modified
Jun 17, 2026, 9:09 AM