CVE-2025-5731: Red Hat infinispan · Generation of Error Message Containing Sensitive Information
Affects Red Hat infinispanSource CVE Database V5
Not known to be exploited · CVSS 5.5 Medium.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.infinispan/infinispanpkg:maven/org.infinispan/infinispanOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-5731, organizations should implement the following specific measures: 1) Restrict access to the Infinispan CLI to trusted administrators only, minimizing the risk of unauthorized local access. 2) Configure Kubernetes and Infinispan logging to exclude sensitive information from error messages and logs, ensuring that plaintext secrets are not recorded or displayed. 3) Employ environment hardening by enforcing strict role-based access controls (RBAC) and least privilege principles for users interacting with Infinispan and Kubernetes secrets. 4) Monitor CLI usage and error logs for unusual activity that might indicate attempts to trigger error messages containing sensitive data. 5) Stay updated with Red Hat advisories and apply patches or updates as soon as they become available to address this vulnerability. 6) Consider implementing secret management solutions that avoid embedding sensitive data directly in command strings or error outputs. 7) Conduct security reviews and testing focused on error handling and secret exposure in the deployment environment to identify and remediate similar issues proactively.
Description
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.