CVE-2026-29962

Path Traversal LFI Enables Remote File Disclosure in HSC MailInspector

Published May 18, 2026 CVSS 3.1 · 7.5 High EPSS 1.5% KEV · Not listed
Description
HSC MailInspector v5.3.3-7 contains a Local File Inclusion (LFI) vulnerability caused by improper control of user-supplied file paths. The endpoint /vendor/phpunit/phpunit.php processes user-controlled parameters that directly affect file access operations without adequate validation, sanitization, or path restriction. This allows a remote attacker to exploit Path Traversal techniques to read arbitrary files from the underlying operating system and application directories, leading to sensitive information disclosure.

Analysis

AI-generated

Technical impact

The vulnerability is a local file inclusion flaw that occurs when user-supplied file paths are passed to an endpoint without proper validation, sanitization, or path restriction. In the affected HSC MailInspector v5.3.3-7, the /vendor/phpunit/phpunit.php route accepts parameters that influence file access operations. Because the input is not restricted, an attacker can craft a request that traverses directories and reads arbitrary files on the underlying operating system and application directories, exposing confidential data such as configuration files, credentials, or logs.

Affected Systems

The flaw resides specifically in HSC MailInspector version 5.3.3-7. Any installation of that version, as utilized in environments that expose the /vendor/phpunit/phpunit.php endpoint to remote users, is susceptible to exploitation. No other versions or products are known to share this issue at the time of this analysis.

Risk and Exploitability

Although the EPSS score is < 1% and the vulnerability is not listed in CISA's KEV catalog, the CVSS score of 7.5 indicates moderate to high severity. An LFI vulnerability that permits arbitrary file reads is easy to exploit over the network. A remote attacker can trigger the flaw by sending a specially crafted HTTP request to the vulnerable endpoint, without needing privileged credentials. The lack of exploitation evidence suggests the risk may currently be moderate to high, but the potential for data disclosure warrants prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade HSC MailInspector to a version that removes the vulnerable endpoint or adds proper path validation.
  • Apply strict filesystem permissions to the web process so that it cannot read sensitive directories outside the intended document root.
  • Configure the web server to disallow path traversal and enforce directory constraints, for example by using configuration directives that restrict file access to the web root.

Generated by OpenCVE AI on May 19, 2026 at 19: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': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Path Traversal LFI Enables Remote File Disclosure in HSC MailInspector
Type Values Removed Values Added
CPEs cpe:2.3:a:hsclabs:mailinspector:5.3.3-7:*:*:*:*:*:*:*
Type Values Removed Values Added
Title Local File Inclusion in HSC MailInspector v5.3.3-7
Weaknesses CWE-22
Type Values Removed Values Added
Weaknesses CWE-73
Metrics cvssV3_1

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

Type Values Removed Values Added
Title Local File Inclusion in HSC MailInspector v5.3.3-7
First Time appeared Hsclabs
Hsclabs mailinspector
Weaknesses CWE-22
Vendors & Products Hsclabs
Hsclabs mailinspector
Type Values Removed Values Added
Description HSC MailInspector v5.3.3-7 contains a Local File Inclusion (LFI) vulnerability caused by improper control of user-supplied file paths. The endpoint /vendor/phpunit/phpunit.php processes user-controlled parameters that directly affect file access operations without adequate validation, sanitization, or path restriction. This allows a remote attacker to exploit Path Traversal techniques to read arbitrary files from the underlying operating system and application directories, leading to sensitive information disclosure.
References
Weaknesses
  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 19, 2026, 1:42 PM
Reserved
Mar 4, 2026, 12:00 AM
Status
Analyzed
Published
May 18, 2026, 6:17 PM
Modified
Oct 19, 2026, 10:10 PM