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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.73% (percentile 50, 2026-11-26)
- **CWE:** CWE-427
- **Published:** 2025-04-01T02:02:25.594Z
- **Modified:** 2026-06-17T09:09:09.500Z

## Who should check

- Anyone running TOBYINK Sub::HandlesVia \< 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

## Affected and fixed versions

- TOBYINK Sub::HandlesVia: \< 0.050002 (cvelist)

## Mitigation

- Upgrade Sub::HandlesVia to 0.050002 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-30673. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-30673.md
Affected: TOBYINK Sub::HandlesVia < 0.050002
Fixed in: TOBYINK Sub::HandlesVia 0.050002

Steps:
1. Search this machine and project for TOBYINK Sub::HandlesVia: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-30673 being exploited?

There is no confirmed exploitation: CVE-2025-30673 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.73% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-30673?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-30673?

TOBYINK Sub::HandlesVia \< 0.050002.

### Is there a fix for CVE-2025-30673?

Yes. Fixed in TOBYINK Sub::HandlesVia 0.050002. Upgrade Sub::HandlesVia to 0.050002 or later.

### How do I check if I'm affected by CVE-2025-30673?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-30673>

HTML: <https://flawdb.com/CVE-2025-30673> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-30673>
