CVE-2025-15222 Dromara Sa-Token SaSerializerTemplateForJdkUseBase64.java ObjectInputStream.readObject deserialization
Remote attackers can exploit unsafe deserialization in Sa-Token to potentially execute arbitrary code, requiring high complexity and specific conditions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-15222?
CVE-2025-15222 is a low-severity unsafe deserialization vulnerability in Dromara Sa-Token, published on 30 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been found in Dromara Sa-Token up to 1.44.0. This issue affects the function ObjectInputStream.readObject of the file SaSerializerTemplateForJdkUseBase64.java. Such manipulation leads to deserialization. The attack can be executed remotely. This attack is characterized by high complexity. The exploitability is assessed as difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2025-15222?
How do I fix CVE-2025-15222?
No fix has been published for CVE-2025-15222 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2025-15222 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-15222 exists.
Sources
Also known as GHSA-9gcg-r6x9-gh93.