8.7high
minio-java Client XML Tag is Vulnerable to Value Substitution
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.54% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-h7rh-xfpj-hpcm
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| minio minio-java | < 8.6.0 | CVE List |
| io.minio:minio (Maven) | before 8.6.0 | GitHub Advisory Database |
All scores
| GitHub_M | 8.7high CVSS:4.0 | 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 |
| GitHub | high CVSS:4.0 | 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 |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
MinIO Java SDK es un cliente de Servicio de Almacenamiento Simple (también conocido como S3) para realizar operaciones de bucket y objeto a cualquier servicio de almacenamiento de objetos compatible con Amazon S3. En versiones de minio-java anteriores a la 8.6.0, los valores de las etiquetas XML que contenían referencias a propiedades del sistema o variables de entorno se sustituían automáticamente por sus valores reales durante el procesamiento. Este comportamiento no intencionado podría llevar a la exposición de información sensible, incluyendo credenciales, rutas de archivos o detalles de configuración del sistema, si dichas referencias estaban presentes en contenido XML de fuentes no confiables. Esto está corregido en la versión 8.6.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-59952 changed 2026-01-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h7rh-xfpj-hpcm changed 2025-09-30 | CC-BY-4.0 |
| NVD | CVE-2025-59952 changed 2026-10-09 | Public domain |