ADVISORIES

Vulnerability

CVE-2022-4065

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.

6 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • GHSA-rc2q-x9mf-w3vf

    TestNG is vulnerable to Path Traversal

    High CVE-2022-4065 Maven Updated 8 November 2023
  • OESA-2024-1072

    testng security update

    High CVE-2022-4065 openEuler Updated 18 August 2026
  • RHVEX-CVE-2022-4065

    testng: a path traversal in zip files

    Moderate CVE-2022-4065 Red Hat Updated 5 November 2026
  • SUSE-SU-2023:1690-1

    Security update for testng

    CVE-2022-4065 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:2568-1

    Security update for mockito, snakeyaml, testng

    CVE-2022-4065 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2022-4065

    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…

    CVE-2022-4065 Ubuntu Updated 17 October 2026

References