CVE-2025-5731
Infinispan: credential leakage in infinispan cli
A flaw was found in Infinispan CLI. A sensitive password, decoded from a Base64-encoded Kubernetes secret, is processed in plaintext and included in a command string that may expose the data in an error message when a command is not found.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.5
Infinispan: credential leakage in infinispan cli
A flaw was found in Infinispan CLI. A sensitive password, decoded from a Base64-encoded Kubernetes secret, is processed in plaintext and included in a command string that may expose the data in an error message when a command is not found.
- Record
CVE-2025-5731- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-209
- Updated
- 2026-11-02
EUVDEUVD-2025-19671
5.5
A flaw was found in Infinispan CLI. A sensitive password, decoded from a Base64-encoded Kubernetes secret, is processed in plaintext and included in a command string that may expose the data in an error message when a command is not found.
- Record
EUVD-2025-19671- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-cqm8-rg2p-jfcf
5.5
Infinispan CLI vulnerable to Generation of Error Message Containing Sensitive Information
A flaw was found in Infinispan CLI. A sensitive password, decoded from a Base64-encoded Kubernetes secret, is processed in plaintext and included in a command string that may expose the data in an error message when a command is not found.
- Record
GHSA-cqm8-rg2p-jfcf- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-209
- Updated
- 2026-11-02
NVD
5.5
A flaw was found in Infinispan CLI. A sensitive password, decoded from a Base64-encoded Kubernetes secret, is processed in plaintext and included in a command string that may expose the data in an error message when a command is not found.
- Record
CVE-2025-5731- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-209
- Updated
- 2026-11-02
OSV
5.5
Infinispan: credential leakage in infinispan cli
A flaw was found in Infinispan CLI. A sensitive password, decoded from a Base64-encoded Kubernetes secret, is processed in plaintext and included in a command string that may expose the data in an error message when a command is not found.
- Record
CVE-2025-5731- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-209
- Updated
- 2026-11-02
OSVGHSA-cqm8-rg2p-jfcf
5.5
Infinispan CLI vulnerable to Generation of Error Message Containing Sensitive Information
A flaw was found in Infinispan CLI. A sensitive password, decoded from a Base64-encoded Kubernetes secret, is processed in plaintext and included in a command string that may expose the data in an error message when a command is not found.
- Record
GHSA-cqm8-rg2p-jfcf- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-209
- Updated
- 2026-11-02
Affected products
- infinispan
- red hat infinispan
- red hat data grid 8.5.4
- red hat jboss enterprise application platform 7
- red hat jboss enterprise application platform 8
- red hat jboss enterprise application platform expansion pack
- redhat data grid
- redhat jboss enterprise application platform
- redhat jboss enterprise application platform expansion pack
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.infinispan:infinispan-cli-clientMaven |
through 16.0.0.Dev01 | None known |
org.infinispan:infinispan-cli-clientMaven |
through 16.0.0.Dev01, plus listed versions 10.0.0.Alpha110.0.0.Alpha210.0.0.Alpha310.0.0.Beta110.0.0.Beta2 Show 45 moreShow less10.0.0.Beta310.0.0.Beta410.0.0.Beta510.0.0.CR110.0.0.CR210.0.0.CR310.0.0.Final10.0.1.Final10.1.0.Beta110.1.0.CR110.1.0.Final10.1.1.Final10.1.2.Final10.1.3.Final10.1.4.Final10.1.5.Final10.1.6.Final10.1.7.Final10.1.8.Final10.1.9.Final11.0.0.Alpha11.0.0.Alpha111.0.0.Alpha211.0.0.CR111.0.0.Dev0311.0.0.Dev0411.0.0.Dev0511.0.0.Final11.0.1.Final11.0.10.Final11.0.11.Final11.0.13.Final11.0.14.Final11.0.15.Final11.0.16.Final11.0.17.Final11.0.18.Final11.0.19.Final11.0.2.Final11.0.3.Final11.0.4.Final11.0.5.Final11.0.6.Final11.0.7.Final11.0.8.Final |
None known |
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-5731 is a medium vulnerability (CVSS 5.5) in Infinispan, published June 26, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.17%, the 6th percentile. No source names a fixed version.
References
access.redhat.com/errata/RHSA-2025:10130
access.redhat.com/security/cve/CVE-2025-5731
bugzilla.redhat.com/show_bug.cgi?id=2370429
nvd.nist.gov/vuln/detail/CVE-2025-5731
github.com/advisories/GHSA-cqm8-rg2p-jfcf
access.redhat.com/downloads/content/package-browser
access.redhat.com/jbossnetwork/restricted/listSoftware.html
github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5731.json
github.com/infinispan/infinispan
Left out here: 359 versions. The JSON record has them.