CVE-2025-30673: Sub::HandlesVia for Perl allows untrusted code to be included from the current working directory
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.050002
Event History
Frequently Asked Questions
What is the severity of CVE-2025-30673?
CVE-2025-30673 is considered a significant vulnerability due to the potential for arbitrary code execution through malicious file loading.
How do I fix CVE-2025-30673?
To fix CVE-2025-30673, upgrade to Sub::HandlesVia version 0.050002 or later.
What kind of attack does CVE-2025-30673 facilitate?
CVE-2025-30673 facilitates an attack where untrusted code from the current working directory can be executed instead of the intended module.
Which versions of Sub::HandlesVia are affected by CVE-2025-30673?
CVE-2025-30673 affects all versions of Sub::HandlesVia before 0.050002.
What should I do if I cannot upgrade to fix CVE-2025-30673?
If you cannot upgrade, limit the current working directory permissions and avoid executing untrusted code.