What’s Vulnerable › Vulnerabilities
CVE-2025-30673: Sub::HandlesVia for Perl allows untrusted code to be included from the current working directory
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-01 · updated 2026-06-17
- Weakness: CWE-427
Description
Sub::HandlesVia for Perl before 0.050002 allows untrusted code from the current working directory ('.') to be loaded 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. Sub::HandlesVia uses Mite to produce the affected code section due to CVE-2025-30672
Affected products
- TOBYINK Sub::HandlesVia: before 0.050002 — fixed in 0.050002
How to fix
Upgrade to a fixed version: TOBYINK Sub::HandlesVia 0.050002. Check the vendor advisory for mitigations.
References
- https://blogs.perl.org/users/todd_rinaldo/2016/11/what-happened-to-dot-in-inc.html
- https://metacpan.org/dist/Sub-HandlesVia/changes#L12
- https://metacpan.org/release/TOBYINK/Sub-HandlesVia-0.050001/source/lib/Sub/HandlesVia/Mite.pm#L114
Get alerted when CVE-2025-30673 or the next vulnerability affects your stack