Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed MailInspector instance
-
DeliverySend GET to /vendor/phpunit/phpunit.php with traversal payload
-
ExploitBypass missing path validation
-
ExecutionRead /etc/passwd and app config files
-
PersistHarvest SMTP/DB credentials from disclosed files
-
ImpactPivot 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-30781
GHSA-gx62-92q7-r437
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB