Skip to content

CVE-2025-53103 JUnit OpenTestReportGeneratingListener can leak Git credentials

MediumCVSS 5.8 EPSS 0.11%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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