CVE-2025-8752 wangzhixuan spring-shiro-training add command injection

Medium 6.9 Published Updated

Remote attackers can execute arbitrary commands via the role addition endpoint in the Spring Shiro training application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-8752?

CVE-2025-8752 is a medium-severity command injection vulnerability in wangzhixuan spring-shiro-training, published on 9 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in wangzhixuan spring-shiro-training up to 94812c1fd8f7fe796c931f4984ff1aa0671ab562. It has been declared as critical. This vulnerability affects unknown code of the file /role/add. The manipulation leads to command injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2025-8752?

It affects 1 product.

Products include Xuanshao Spring-Shiro-Training.

How do I fix CVE-2025-8752?

No fix has been published for CVE-2025-8752 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-8752 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8752 exists.

Sources

Also known as GHSA-596w-j23v-rxxc.

Is CVE-2025-8752 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free