CVE-2026-78189

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

Published Oct 31, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

WebDyne versions 3.007 through 3.021 for Perl contain a path‑traversal flaw in the PSGI API route fallback logic. When a requested path does not match an existing file, the handler retries it as an API route and retains any ".." segments. It then verifies that the joined path begins with the document root, but this check incorrectly allows paths that start with "/.." to bypass the root restriction. A remote attacker can therefore request a URL such as "/../private", causing the server to locate and execute any .psp file that the web server can read, including one uploaded outside the configured document root. The embedded Perl code runs with the same privileges as the web server, giving the attacker full remote code execution capability. This vulnerability is identified as CWE‑22, Path Traversal.

Affected Systems

Internet‑facing servers running ASPEER WebDyne version 3.007 up to 3.021 for Perl are affected. The flaw applies to all instances that allow the WebDyne PSGI application to serve requests, and it permits the execution of any .psp file within a directory that the web server can read. Any uploaded .psp file located outside the configured document root is at risk. The issue is fixed in WebDyne 3.022 and later, which removes or guards the vulnerable fallback logic.

Risk and Exploitability

The exploit path is straightforward: a well‑formed HTTP request with a path containing '..' can trigger the flaw. With a CVSS score of 9.8, this constitutes a high‑severity remote code execution vulnerability. Based on the description, it is inferred that no authentication or privileged access is required because the server must simply be reachable over the network. EPSS score of 0.00249 (approximately 0.25%) indicates a low likelihood of exploitation at the present time. It is not yet listed in the CISA KEV catalog, suggesting that no widespread exploits have been reported, although the presence of a network bypass and lack of mitigating network controls keeps the risk significant.

Remediation

Vendor Solution

Upgrade to WebDyne 3.022 or later.


OpenCVE Recommended Actions

  • Apply the official WebDyne 3.022 or newer patch to eliminate the vulnerable fallback logic.
  • If an upgrade is delayed, remove or restrict access to directories containing .psp files outside the document root, and disallow uploading such files from the web interface.
  • Configure the web server or firewall to block requests containing ".." sequences or disable the PSGI API route fallback feature if possible.

Generated by OpenCVE AI on November 6, 2026 at 17:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Perl
Perl webdyne
Vendors & Products Perl
Perl webdyne
Type Values Removed Values Added
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.
Title 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
Weaknesses CWE-22
References
Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 6, 2026, 2:35 PM
Reserved
Aug 23, 2026, 6:38 PM
Status
Deferred
Published
Oct 31, 2026, 3:16 PM
Modified
Nov 6, 2026, 3:17 PM