CVE-2026-8704 Crypt::DSA versions through 1.19 for Perl use 2-args open, allowing existing files to be modified

Medium 6.5 Published Updated

An attacker can modify existing files by exploiting unsafe file opening practices in the Crypt::DSA Perl library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-8704?

CVE-2026-8704 is a medium-severity path traversal vulnerability in TIMLEGGE Crypt::DSA, published on 15 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Crypt::DSA versions through 1.19 for Perl use 2-args open, allowing existing files to be modified.

Weakness: CWE-552

Which versions are affected by CVE-2026-8704?

How do I fix CVE-2026-8704?

No fix has been published for CVE-2026-8704 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-8704 being exploited?

There is no known exploitation of CVE-2026-8704 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-8704, GHSA-5cq6-9f97-wjwx, UBUNTU-CVE-2026-8704.

Is CVE-2026-8704 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free