Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-4065

25
FAUCET Score

CVE-2022-4065 is a critical path traversal vulnerability affecting TestNG versions 7.5.0, 7.6.0, 7.6.1, and 7.7.0, specifically within the testngXmlExistsInJar function of the XML File Parser component. This vulnerability allows for remote attacks with high impact on confidentiality, integrity, and availability, as indicated by its CVSS score of 7.8 (High). While no public exploits, Metasploit modules, or Nuclei templates are currently available, and there is minimal community discussion or media coverage, users are strongly advised to upgrade to TestNG versions 7.5.1 or 7.7.1 to mitigate this risk.

Impacted Technologies

VendorProductVersion(s)CPE
Range not provided by sourceCPE matchmatch criteria
cpe:2.3:a:testng_project:testng:-:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

5.5MEDIUM

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

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
LOW
Exploitability Score
2.1
Impact Score
3.4
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.88%
Probability of exploitation in next 30 days
EPSS Percentile
55.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
This CVE's current EPSS score of 0.0088 is in the 52nd percentile among its peer group of 11,616 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

github_advisorypatch availablevia nvd_reference
View patch
mavenpatch availablevia ghsa
Product: org.testng:testngFixed in: 7.5.1
mavenpatch availablevia ghsa
Product: org.testng:testngFixed in: 7.7.0

Vendor Advisories (2)

mavenGHSA-rc2q-x9mf-w3vfhigh

TestNG is vulnerable to Path Traversal

Nov 19, 2022
redhatCVE-2022-4065Moderate

testng: a path traversal in zip files

Nov 19, 2022

References

github.com / cbeust/testng/commit/9150736cd2c123a6a3b60e6193630859f9f0422b
PatchThird Party Advisory
github.com / cbeust/testng/pull/2806
ExploitPatchThird Party Advisory
github.com / cbeust/testng/releases/tag/7.7.1
vuldb.com
vuldb.com
Third Party Advisory