CVE-2026-78191: WebDyne versions from 2.031 before 3.022 for Perl execute files with .psp anywhere in the name as Perl pages Robert Rothenberg 31 Oct 2026 14:37 UTC

========================================================================
CVE-2026-78191                                       CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-78191

   Distribution:  WebDyne
       Versions:  from 2.031 before 3.022
       MetaCPAN:  https://metacpan.org/dist/WebDyne
       VCS Repo:  https://github.com/aspeer/WebDyne

WebDyne versions from 2.031 before 3.022 for Perl execute files with
.psp anywhere in the name as Perl pages

Description
-----------
WebDyne versions from 2.031 before 3.022 for Perl execute files with
.psp anywhere in the name as Perl pages.

WebDyne decides whether to run a requested file as a page by matching
its name against WEBDYNE_PSP_EXT_RE, which has no end anchor.

An application that accepts uploads by checking only the final
extension lets a remote attacker upload a file such as report.psp.pdf
and run its embedded Perl by requesting it.

Problem types
-------------
- CWE-777 Regular Expression without Anchors

Solutions
---------
Upgrade to WebDyne 3.022 or later.

References
----------
https://metacpan.org/release/ASPEER/WebDyne-3.022/changes