{"cve":"CVE-2022-4065","nvd":{"published":"2022-11-19T19:15:10.433","modified":"2026-06-17T05:19:53.443","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-22"],"references":["https://github.com/cbeust/testng/commit/9150736cd2c123a6a3b60e6193630859f9f0422b","https://github.com/cbeust/testng/pull/2806","https://github.com/cbeust/testng/releases/tag/7.7.1","https://vuldb.com/?ctiid.214027","https://vuldb.com/?id.214027"],"products":["testng_project:testng"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-4065","score":0.00969,"percentile":0.61881,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rc2q-x9mf-w3vf","url":"https://osv.dev/vulnerability/GHSA-rc2q-x9mf-w3vf","summary":"TestNG is vulnerable to Path Traversal","modified":"2023-11-08T04:10:24.506184Z","packages":[{"ecosystem":"Maven","name":"org.testng:testng","purl":"pkg:maven/org.testng/testng","ranges":[">=6.13 <7.5.1"],"fixed":["7.5.1"]},{"ecosystem":"Maven","name":"org.testng:testng","purl":"pkg:maven/org.testng/testng","ranges":[">=7.6.0 <7.7.0"],"fixed":["7.7.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}