Skip to main content

HSC MailInspector EUVDEUVD-2026-30781

| CVE-2026-29962 HIGH
External Control of File Name or Path (CWE-73)
2026-05-18 mitre GHSA-gx62-92q7-r437
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed MailInspector instance
  2. Delivery
    Send GET to /vendor/phpunit/phpunit.php with traversal payload
  3. Exploit
    Bypass missing path validation
  4. Execution
    Read /etc/passwd and app config files
  5. Persist
    Harvest SMTP/DB credentials from disclosed files
  6. Impact
    Pivot to mail relay or backend database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Exploitation requires that the MailInspector web interface - specifically the /vendor/phpunit/phpunit.php endpoint - be reachable by the attacker over HTTP/HTTPS, and that the deployment ships the vulnerable PHPUnit artifact in its default vendor path (which v5.3.3-7 does). No authentication, no user interaction, and no non-default configuration is required per CVSS PR:N/UI:N; the attacker only needs network reachability to the management/web port. Realistic limiting factors are that MailInspector is a niche vertical product with limited internet exposure, and that defenders who already block /vendor/ at the reverse proxy (a common hardening baseline) will neutralize the attack path. File disclosure is bounded by the filesystem permissions of the PHP worker process.

Impact

The CVSS vector (AV:N/AC:L/PR:N/UI:N/C:H/I:N/A:N) describes a network-reachable, low-complexity, unauthenticated read primitive with high confidentiality impact only - consistent with file disclosure rather than RCE. EPSS is very low at 0.05% (15th percentile) and the vulnerability is not on CISA KEV, suggesting it is not currently part of mass-scanning campaigns. However, MailInspector has a relatively small install base concentrated in Brazil, which depresses EPSS independently of actual exploitability; the underlying primitive (LFI in an exposed phpunit.php) is trivially weaponizable and a public disclosure write-up exists on GitHub (sql3t0/cve-disclosures). No SSVC decision data was provided. Real-world priority should be treated as high for any organization actually running MailInspector - disclosed configuration files can yield SMTP/IMAP/database credentials enabling broader compromise of the mail gateway and any accounts it relays.

Exploit ScenarioDerived

An attacker scanning Brazilian mail infrastructure identifies a MailInspector instance exposed to the internet and issues a single unauthenticated GET to /vendor/phpunit/phpunit.php with a traversal payload in the vulnerable parameter, retrieving /etc/passwd, application configuration files, and stored SMTP/database credentials. Those credentials are then reused to pivot into the mail relay, read quarantined messages, or authenticate to the backend database. A public write-up exists on GitHub but no weaponized exploit module has been observed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 19, 2026

Arbitrary file disclosure in HSC MailInspector v5.3.3-7 allows unauthenticated remote attackers to read sensitive files from the host via a path traversal flaw in the exposed /vendor/phpunit/phpunit.php endpoint. The CVSS 7.5 rating reflects high confidentiality impact with no required privileges or user interaction, though EPSS remains very low at 0.05% (15th percentile) and there is no public exploit identified at time of analysis. The exposure of a PHPUnit development artifact in a production path mirrors a long-standing class of PHP supply-chain misconfigurations.

RemediationAI

No vendor-released patch identified at time of analysis - HSC has not published a fixed version in the references provided. As compensating controls, block external HTTP access to the entire /vendor/ path at the reverse proxy or web server (e.g., an nginx 'location ^~ /vendor/ { deny all; }' or equivalent Apache rule), which is safe because Composer's vendor directory should never be web-reachable in production. Specifically deny /vendor/phpunit/phpunit.php and any *.php under /vendor/, and restrict the MailInspector management interface to trusted administrative networks via firewall or VPN. If the web user does not require broad filesystem read access, tighten its permissions and consider running PHP-FPM with open_basedir scoped to the application root to neutralize traversal beyond the app. Monitor web logs for requests to /vendor/phpunit/phpunit.php with traversal sequences (../, %2e%2e, absolute paths) and pull the vendor advisory at https://hsclabs.com/pt-br/mailinspector when published; the NVD entry is https://nvd.nist.gov/vuln/detail/CVE-2026-29962.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

HSC MailInspector is a Brazilian email security and anti-spam gateway product from HSC Brasil (hsclabs.com), built on a PHP web stack. The root cause is CWE-73 (External Control of File Name or Path): the application ships PHPUnit's phpunit.php under a web-reachable /vendor/ directory, and user-controlled parameters are passed into file-access primitives without canonicalization, allow-listing, or chroot-style restriction. Because PHP's file functions resolve '../' sequences and absolute paths, an attacker can traverse outside the document root and read any file the PHP worker process can access (typically web user, but often including configuration, credentials, and OS files like /etc/passwd). Exposing the vendor/ directory at all is itself a known anti-pattern - Composer-managed dependencies are not meant to be reachable over HTTP.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from Vendor (mitre) · only source for this CVE.

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
CVSS changed
May 19, 2026 - 15:22 NVD
7.5 (HIGH)
CVE Published
May 18, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

HSC MailInspector v5.3.3-7 contains an unauthenticated file disclosure vulnerability enabling external attackers to access sensitive files on email inspection systems without authentication. This directly exposes confidential business data and email communications to unauthorized disclosure. Immediate containment is critical given the high confidentiality impact and unavailability of vendor patches.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Network access control-restrict all traffic to /vendor/phpunit/phpunit.php endpoint via firewall/WAF, (2) Network segmentation-isolate MailInspector instances from untrusted networks, (3) Monitoring-enable logging and alerting for requests to the vulnerable endpoint, (4) Application-level controls-disable the endpoint if vendor configuration permits.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy