# CVE-2025-30672: Mite for Perl generates code with an untrusted search path vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 51% of CVEs (2026-11-30)
- Published: 2025-04-01T01:51:08.494Z
- Modified: 2026-06-17T09:09:09.363Z
- Weaknesses: CWE-427
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Mite: before 0.013000

## References

- <https://metacpan.org/release/TOBYINK/Mite-0.013000/changes> (release-notes)
- <https://wiki.gentoo.org/wiki/Project:Perl/Dot-In-INC-Removal> (related)
- <https://perldoc.perl.org/perlrun#PERL_USE_UNSAFE_INC> (related)
- <https://blogs.perl.org/users/todd_rinaldo/2016/11/what-happened-to-dot-in-inc.html> (related)

## Sources

- CVE List: [CVE-2025-30672](https://www.cve.org/CVERecord?id=CVE-2025-30672), CVE Terms of Use, modified 2025-04-01
- NVD: [CVE-2025-30672](https://nvd.nist.gov/vuln/detail/CVE-2025-30672), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-30672 · Whole record: https://cve.day/CVE-2025-30672.json · Rebuilt by cve.day 2026-11-25T22:58:55.807Z
