Read the docs
TI-2022-03730 Aliases CVE-2022-4065GHSA-rc2q-x9mf-w3vf

cbeust testng XML File Parser JarFileUtils.java testngXmlExistsInJar path traversal

Priority LOW 36CWE-22Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

A vulnerability was found in cbeust testng 7.5.0/7.6.0/7.6.1/7.7.0. It has been declared as critical. Affected by this vulnerability is the function testngXmlExistsInJar of the file testng-core/src/main/java/org/testng/JarFileUtils.java of the component XML File Parser. The manipulation leads to path traversal. The attack can be launched remotely. Upgrading to version 7.5.1 and 7.7.1 is able to address this issue. The patch is named 9150736cd2c123a6a3b60e6193630859f9f0422b. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-214027.

Why it matters now

EPSS 0.00969 62nd percentileScored 2026-11-08
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial org.testng:testng (Maven): 7.5.1, 7.7.0Red Hat: 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
cbeusttestng7.5.0; 7.6.0; 7.6.1; 7.7.0—No fix listedCNA
—org.testng:testng (Maven)6.13 to before 7.5.17.5.1Patch availableGHSA-rc2q-x9mf-w3vf
—org.testng:testng (Maven)7.6.0 to before 7.7.07.7.0Patch availableGHSA-rc2q-x9mf-w3vf
  • testng Vendorcbeust Affected 7.5.0; 7.6.0; 7.6.1; 7.7.0 Fixed in — No fix listed CNA
  • org.testng:testng (Maven) Vendor— Affected 6.13 to before 7.5.1 Fixed in 7.5.1 Patch available GHSA-rc2q-x9mf-w3vf
  • org.testng:testng (Maven) Vendor— Affected 7.6.0 to before 7.7.0 Fixed in 7.7.0 Patch available GHSA-rc2q-x9mf-w3vf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:testng_project:testng:-:*:*:*:*:*:*:*not specified by NVDVulnerableTestng Project
  • cpe:2.3:a:testng_project:testng:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Testng Project

Remediation

  • Fix · GHSA-rc2q-x9mf-w3vf org.testng:testng (Maven) Fixed in 7.5.1 Advisory →
  • Fix · GHSA-rc2q-x9mf-w3vf org.testng:testng (Maven) Fixed in 7.7.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Software CollectionsAffectedNo fix planned: Out of support scope

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-4065
  2. 2026-10-03 Alias added: GHSA-rc2q-x9mf-w3vf

References

Sources