WebDyne versions from 3.007 before 3.022 for Perl execute .psp files outside the document root via path traversal in the PSGI API route fallback Robert Rothenberg 31 Oct 2026 14:36 UTC

========================================================================
CVE-2026-78189                                       CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-78189

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

WebDyne versions from 3.007 before 3.022 for Perl execute .psp files
outside the document root via path traversal in the PSGI API route
fallback

Description
-----------
WebDyne versions from 3.007 before 3.022 for Perl execute .psp files
outside the document root via path traversal in the PSGI API route
fallback.

When a request matches no file, the PSGI handler retries it as an API
route through api_filename. That keeps .. segments in the request path
and only checks that the joined path starts with the document root,
which a request for /../private passes.

A remote attacker can run the embedded Perl in any .psp file the server
can read, such as one uploaded to a directory outside the document
root.

Problem types
-------------
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
   ('Path Traversal')

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

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