CVE-2025-12107: WSO2 Identity Server · OS Command Injection
Affects WSO2 Identity ServerSource CVE Database V5
Not known to be exploited · CVSS 8.4 High · fixed in 6.1.0.122 : patch WSO2 Identity Server soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.1.0.122, 6.0.0.140, 5.11.0.299
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Feb 2026
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 2026-10-25.
What to do
Upgrade WSO2 Identity Server to 6.1.0.122, 6.0.0.140 or 5.11.0.299.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| WSO2Identity Server | Affected
| Fixed in
|
AI-suggested
To mitigate CVE-2025-12107, organizations should: 1) Immediately upgrade WSO2 Identity Server to a patched version once available from the vendor. 2) If a patch is not yet available, restrict administrative access strictly to trusted personnel and enforce strong multi-factor authentication (MFA) to reduce the risk of credential compromise. 3) Audit and monitor administrative activities and template configurations for suspicious changes or injections. 4) Implement network segmentation to limit access to the identity server from only necessary systems and networks. 5) Employ runtime application self-protection (RASP) or web application firewalls (WAF) with custom rules to detect and block malicious template syntax injections. 6) Regularly review and harden template usage policies and sanitize any user-supplied input that may be processed by templates. 7) Conduct security awareness training for administrators about the risks of privilege misuse and the importance of secure template management. These targeted actions go beyond generic advice by focusing on controlling admin privileges, monitoring template integrity, and applying layered defenses until a vendor patch is deployed.
Description
The Velocity template engine, utilized by the affected product, accepts and processes template syntax without sufficient sanitization or validation of user-controlled input. This allows an authenticated administrator to inject arbitrary template syntax. Successful exploitation enables an attacker with administrative privileges to execute arbitrary template code on the server. This can lead to significant security consequences, including remote code execution, manipulation of data, and unauthorized access to sensitive information.