CVE-2025-53103 JUnit OpenTestReportGeneratingListener can leak Git credentials
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
JUnit is a testing framework for Java and the JVM. From version 5.12.0 to 5.13.1, JUnit's support for writing Open Test Reporting XML files can leak Git credentials. The impact depends on the level of the access token exposed through the OpenTestReportGeneratingListener. If these test reports are published or stored anywhere public, then there is the possibility that a rouge attacker can steal the token and perform elevated actions by impersonating the user or app. This issue as been patched in version 5.13.2.
Upgrade path
6 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/junit5(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/junit5(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/junit5(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/junit5(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| org.junit.platform/junit-platform-reporting(Maven) | >= 5.12.0, < 5.13.2; >= 5.12.0, <= 5.13.1 | 5.13.2 | Fixed |
| junit-team junit-framework | = >= 5.12.0, < 5.13.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.junit.platform/junit-platform-reporting(Maven) | >= 5.12.0, < 5.13.2 | 5.13.2 |
| org.junit.platform/junit-platform-reporting(Maven) | >= 5.12.0, <= 5.13.1 | No fix listed |
| junit-team junit-framework | = >= 5.12.0, < 5.13.2 | No fix listed |
| ubuntu/junit5(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/junit5(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/junit5(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/junit5(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/junit-team/junit-framework/security/advisories/GHSA-m43g-m425-p68x vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/junit-team/junit-framework/commit/d4fc834c8c1c0b3168cd030c13551d1d041f51bc patch
- github.com product
- github.com
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2025-53103 vendor-advisory