← Vulnerability feed

Vulnerability record · CVE-2021-40875 · published 22 September 2021

CVE-2021-40875: Gurock TestRail improper access control exposes file list and secrets

Gurock · Testrail

TestRail versions before 7.2.0.3014 allow unauthenticated access to the /files.md5 file, which lists application files and their paths. Those paths can be probed and in some cases reveal hardcoded credentials, API keys, or other sensitive data. The flaw is a straightforward access control failure on a client-side file, so it matters to any internet-exposed TestRail instance.

7.5 CVSS 3.1 High EPSS 48% · top 1.2% CWE-425 · CWE-425
7.5CVSS 3.1 base score, v2 5.0
48%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

Improper Access Control in Gurock TestRail versions < 7.2.0.3014 resulted in sensitive information exposure. A threat actor can access the /files.md5 file on the client side of a Gurock TestRail application, disclosing a full list of application files and the corresponding file paths. The corresponding file paths can be tested, and in some cases, result in the disclosure of hardcoded credentials, API keys, or other sensitive data.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

high priorityCVSS 7.5 with no authentication or interaction required, public exploit references, and a very high EPSS percentile make this a high-priority exposure despite no KEV listing.

What it is

TestRail versions before 7.2.0.3014 allow unauthenticated access to the /files.md5 file, which lists application files and their paths. Those paths can be probed and in some cases reveal hardcoded credentials, API keys, or other sensitive data. The flaw is a straightforward access control failure on a client-side file, so it matters to any internet-exposed TestRail instance.

Impact

An attacker gains a full inventory of application files and paths, and can use that map to reach files that may contain hardcoded credentials or API keys. This is information disclosure only; there is no code execution or data modification in the described flaw.

Attack surface

Reached over the network by requesting /files.md5 directly from the TestRail application. The CVSS vector shows no privileges and no user interaction required, so the endpoint is reachable by an unauthenticated remote client.

Exploitation

Not listed in CISA KEV, but EPSS is 0.48417 (98.8th percentile) and multiple references are tagged Exploit, indicating public exploit material exists. No ransomware group use is documented.

What to do

  • Upgrade TestRail to 7.2.0.3014 or later, which is the fixed version named in the advisory.
  • If immediate upgrade is not possible, block or restrict access to /files.md5 at the web server or reverse proxy.
  • Do not expose TestRail directly to the internet; place it behind VPN or an authenticated gateway.
  • Rotate any credentials, API keys, or tokens that may have been stored in files reachable through the disclosed paths.
  • Review file permissions and remove hardcoded secrets from application files.
  • Search logs for requests to /files.md5 and treat any hits as potential reconnaissance.

Detection

  • Alert on HTTP requests to /files.md5 in web server or WAF logs, especially from unauthenticated clients.
  • Baseline normal TestRail file access and flag enumeration of many file paths in a short window.
  • Monitor for outbound or follow-up requests to paths disclosed in files.md5 that are not part of normal application traffic.
  • Audit exposed TestRail instances for the presence of /files.md5 and confirm the deployed version.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-40875 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2018-20063Gurock testrail unrestricted file upload vulnerabilityAn issue was discovered in Gurock TestRail 5.6.0.3853. An "Unrestricted Upload of File" vulnerability exists in the image-upload form (available in t…EPSS 2.7%5.4CVE-2021-36538Gurock testrail cross-site scripting vulnerabilityCross Site Scripting (XSS) vulnerability in Gurock TestRail before 7.1.2 allows remote authenticated attackers to run arbitrary code via the referenc…EPSS 0.55%5.4CVE-2021-44263Gurock testrail cross-site scripting vulnerabilityGurock TestRail before 7.2.4 mishandles HTML escaping.EPSS 0.59%5.4CVE-2021-37788Gurock testrail clickjacking vulnerabilityA vulnerability in the web UI of Gurock TestRail v5.3.0.3603 could allow an unauthenticated, remote attacker to affect the integrity of a device via …EPSS 1.5%5.3CVE-2019-7535Gurock testrail information exposure vulnerabilityindex.php in Gurock TestRail 5.3.0.3603 returns potentially sensitive information for an invalid request, as demonstrated by full path disclosure and…EPSS 1.1%4.3CVE-2014-4857Gurock testrail cross-site scripting vulnerabilityCross-site scripting (XSS) vulnerability in Gurock TestRail before 3.1.3 allows remote attackers to inject arbitrary web script or HTML via the Creat…EPSS 1.7%7.5CVE-2024-45195Apache OFBiz forced browsing exposes restricted endpointsApache OFBiz before 18.12.16 is affected by a direct request (forced browsing) flaw, CWE-425, that lets a remote unauthenticated client reach functio…KEVEPSS 100%analysed5.3CVE-2021-26085Atlassian Confluence Server pre-auth arbitrary file read via /s/ endpointConfluence Server and Data Center expose a pre-authorization arbitrary file read through the /s/ endpoint, letting unauthenticated remote attackers v…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2021-40875), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.