CVE-2025-59952
minio-java Client XML Tag is Vulnerable to Value Substitution
MinIO Java SDK is a Simple Storage Service (aka S3) client to perform bucket and object operations to any Amazon S3 compatible object storage service. In minio-java versions prior to 8.6.0, XML tag values containing references to system properties or environment variables were automatically substituted with their actual values during processing. This unintended behavior could lead to the exposure of sensitive information, including credentials, file paths, or system configuration details, if such references were present in XML content from untrusted sources. This is fixed in version 8.6.0.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
8.7
minio-java Client XML Tag is Vulnerable to Value Substitution
MinIO Java SDK is a Simple Storage Service (aka S3) client to perform bucket and object operations to any Amazon S3 compatible object storage service. In minio-java versions prior to 8.6.0, XML tag values containing references to system properties or environment variables were automatically substituted with their actual values during processing. This unintended behavior could lead to the exposure of sensitive information, including credentials, file paths, or system configuration details, if such references were present in XML content from untrusted sources. This is fixed in version 8.6.0.
- Record
CVE-2025-59952- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-20, CWE-94
- Updated
- 2026-11-02
EUVDEUVD-2025-31590
8.7
MinIO Java SDK is a Simple Storage Service (aka S3) client to perform bucket and object operations to any Amazon S3 compatible object storage service. In minio-java versions prior to 8.6.0, XML tag values containing references to system properties or environment variables were automatically substituted with their actual values during processing. This unintended behavior could lead to the exposure of sensitive information, including credentials, file paths, or system configuration details, if such references were present in XML content from untrusted sources. This is fixed in version 8.6.0.
- Record
EUVD-2025-31590- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-h7rh-xfpj-hpcm
8.7
MinIO Java Client XML Tag Value Substitution Vulnerability
Description
In minio-java versions prior to 8.6.0, XML tag values containing references to system properties or environment variables were automatically substituted with their actual values during processing. This unintended behavior could lead to the exposure of sensitive information, including credentials, file paths, or system configuration details, if such references were present in XML content from untrusted sources.
Affected Versions
- minio-java < 8.6.0
All applications utilizing affected versions of minio-java for parsing XML with potentially untrusted input are vulnerable.
Impact
This vulnerability poses a high risk of information disclosure. Attackers could craft malicious XML inputs to extract sensitive data from the system's properties or environment variables, potentially compromising security in applications relying on minio-java for object storage operations.
Patches
The issue is resolved in minio-java version 8.6.0 and later. In these versions, automatic substitution of XML tag values with system properties or environment variables has been disabled.
Users are strongly advised to upgrade to minio-java 8.6.0 or a newer release to mitigate the vulnerability.
Workarounds
No full workarounds exist without upgrading the library. As interim measures:
- Refrain from processing XML data from untrusted or external sources.
- Implement input sanitization or validation to detect and remove references to system properties or environment variables in XML content.
- Record
GHSA-h7rh-xfpj-hpcm- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-20, CWE-91
- Updated
- 2026-11-02
NVD
8.7
MinIO Java SDK is a Simple Storage Service (aka S3) client to perform bucket and object operations to any Amazon S3 compatible object storage service. In minio-java versions prior to 8.6.0, XML tag values containing references to system properties or environment variables were automatically substituted with their actual values during processing. This unintended behavior could lead to the exposure of sensitive information, including credentials, file paths, or system configuration details, if such references were present in XML content from untrusted sources. This is fixed in version 8.6.0.
- Record
CVE-2025-59952- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-20, CWE-94
- Updated
- 2026-11-02
OSV
8.7
minio-java Client XML Tag is Vulnerable to Value Substitution
MinIO Java SDK is a Simple Storage Service (aka S3) client to perform bucket and object operations to any Amazon S3 compatible object storage service. In minio-java versions prior to 8.6.0, XML tag values containing references to system properties or environment variables were automatically substituted with their actual values during processing. This unintended behavior could lead to the exposure of sensitive information, including credentials, file paths, or system configuration details, if such references were present in XML content from untrusted sources. This is fixed in version 8.6.0.
- Record
CVE-2025-59952- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-20, CWE-94
- Updated
- 2026-11-02
OSVGHSA-h7rh-xfpj-hpcm
8.7
MinIO Java Client XML Tag Value Substitution Vulnerability
Description
In minio-java versions prior to 8.6.0, XML tag values containing references to system properties or environment variables were automatically substituted with their actual values during processing. This unintended behavior could lead to the exposure of sensitive information, including credentials, file paths, or system configuration details, if such references were present in XML content from untrusted sources.
Affected Versions
- minio-java < 8.6.0
All applications utilizing affected versions of minio-java for parsing XML with potentially untrusted input are vulnerable.
Impact
This vulnerability poses a high risk of information disclosure. Attackers could craft malicious XML inputs to extract sensitive data from the system's properties or environment variables, potentially compromising security in applications relying on minio-java for object storage operations.
Patches
The issue is resolved in minio-java version 8.6.0 and later. In these versions, automatic substitution of XML tag values with system properties or environment variables has been disabled.
Users are strongly advised to upgrade to minio-java 8.6.0 or a newer release to mitigate the vulnerability.
Workarounds
No full workarounds exist without upgrading the library. As interim measures:
- Refrain from processing XML data from untrusted or external sources.
- Implement input sanitization or validation to detect and remove references to system properties or environment variables in XML content.
- Record
GHSA-h7rh-xfpj-hpcm- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-20, CWE-91
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
io.minio:minioMaven |
before 8.6.0 | 8.6.0 |
io.minio:minioMaven |
before 8.6.0, plus listed versions 0.0.10.0.20.0.30.1.00.2.0 Show 45 moreShow less0.2.10.2.20.2.30.2.40.2.50.2.61.0.01.0.11.0.22.0.02.0.12.0.22.0.32.0.42.0.53.0.03.0.13.0.103.0.113.0.123.0.23.0.33.0.43.0.53.0.63.0.73.0.83.0.94.0.04.0.14.0.25.0.05.0.15.0.25.0.35.0.45.0.55.0.66.0.06.0.16.0.106.0.116.0.126.0.136.0.2 |
8.6.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-59952 is a high vulnerability (CVSS 8.7) in Minio Minio-java, published September 29, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in io.minio:minio 8.6.0.
References
github.com/minio/minio-java/security/advisories/GHSA-h7rh-xfpj-hpcm
github.com/minio/minio-java/commit/f7a98d06b25e5464bdd4811b044e25ff9101d37f
github.com/minio/minio-java/releases/tag/8.6.0
nvd.nist.gov/vuln/detail/CVE-2025-59952
github.com/advisories/GHSA-h7rh-xfpj-hpcm
github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59952.json
github.com/minio/minio-java
Left out here: 57 versions. The JSON record has them.