{"id":"CVE-2025-30672","summary":"Mite for Perl generates code with an untrusted search path vulnerability","details":"Mite for Perl before 0.013000 generates code with the current working directory ('.') added to the @INC path similar to CVE-2016-1238.\n\nIf an attacker can place a malicious file in current working directory, it may be \nloaded instead of the intended file, potentially leading to arbitrary \ncode execution.\n\nThis affects the Mite distribution itself, and other distributions that contain code generated by Mite.","modified":"2026-07-15T01:48:51.633553361Z","published":"2025-04-01T01:51:08.494Z","database_specific":{"cna_assigner":"CPANSec","cwe_ids":["CWE-427"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30672.json"},"references":[{"type":"WEB","url":"https://cpan.org/modules"},{"type":"WEB","url":"https://perldoc.perl.org/perlrun#PERL_USE_UNSAFE_INC"},{"type":"WEB","url":"https://wiki.gentoo.org/wiki/Project:Perl/Dot-In-INC-Removal"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30672.json"},{"type":"ADVISORY","url":"https://metacpan.org/release/TOBYINK/Mite-0.013000/changes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30672"},{"type":"PACKAGE","url":"https://github.com/tobyink/p5-mite"},{"type":"ARTICLE","url":"https://blogs.perl.org/users/todd_rinaldo/2016/11/what-happened-to-dot-in-inc.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tobyink/p5-mite","events":[{"introduced":"0"},{"fixed":"209129aa8efe43ab5ed9eb9636e113a79771b51b"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.013000"}],"source":"AFFECTED_FIELD"}}],"versions":["0.012000","0.011000","0.010008","0.010007","0.010006","0.010005","0.010004","0.010003","Acme-Mitey-Cards-0.014","Acme-Mitey-Cards-0.014#","0.010002","0.010001","0.010000","0.009003","0.009002","0.009001","0.009000","0.008003","0.008002","0.008001","0.008000","0.007006","0.007005","0.007004","Acme-Mitey-Cards-0.013","0.007003","0.007002","0.007001","0.007000","0.006013","Acme-Mitey-Cards-0.011","Acme-Mitey-Cards-0.010","0.006012","0.006011","0.006010","0.006009","0.006008","0.006007","0.006006","0.006005","0.006004","0.006003","0.006002","0.006001","0.006000","Acme-Mitey-Cards-0.009","0.005004","0.005003","0.005002","0.005001","Acme-Mitey-Cards-0.008","0.005000","Acme-Mitey-Cards-0.007","0.004000","0.003001","0.003000","Acme-Mitey-Cards-0.006","0.002004","0.002003","0.002002","0.002001","0.002000","0.001013","0.001012","0.001011","0.001010","0.001009","0.001008","0.001007","0.001006","0.001005","0.001004","Acme-Mitey-Cards-0.005","0.001003","0.001002","0.001001","Acme-Mitey-Cards-0.004","0.001000","v0.0.9","v0.0.8","Acme-Mitey-Cards-0.003","v0.0.7","Acme-Mitey-Cards-0.002","v0.0.5","Acme-Mitey-Cards-0.001","v0.0.4","v0.0.3","v0.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-30672.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}