CVE-2025-30672 Mite for Perl generates code with an untrusted search path vulnerability
An attacker can execute arbitrary code by placing a malicious file in the current working directory, which is loaded due to an unsafe search path in Mite for Perl.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-30672?
CVE-2025-30672 is a medium-severity code injection vulnerability in TOBYINK Mite, published on 1 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-427
Which versions are affected by CVE-2025-30672?
How do I fix CVE-2025-30672?
No fix has been published for CVE-2025-30672 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-30672 being exploited?
There is no known exploitation of CVE-2025-30672 in the wild and no public exploit code.
Sources
Also known as GHSA-jx2w-pp8j-qrcj.