CVE-2025-51667 simple-admin-core SQL Injection vulnerability

High 7.0 Published Updated

SQL injection in simple-admin-core allows attackers to leak data or disrupt operations via the role update interface.

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

What is CVE-2025-51667?

CVE-2025-51667 is a high-severity SQL injection vulnerability in n/a, published on 27 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in simple-admin-core v1.2.0 thru v1.6.7. The /sys-api/role/update interface in the simple-admin-core system has a limited SQL injection vulnerability, which may lead to partial data leakage or disruption of normal system operations.

Weakness: CWE-89

Which versions are affected by CVE-2025-51667?

3 open source packages ship an affected version, including github.com/suyuan32/simple-admin-core. It affects 1 product.

PackageAffectedFixed in
github.com/suyuan32/simple-admin-core GoFrom 1.2.01.6.8
github.com/suyuan32/simple-admin-core GoFrom 1.2.01.6.8
github.com/suyuan32/simple-admin-core GoFrom 1.2.01.6.8

Products include Ryansu Simple Admin.

How do I fix CVE-2025-51667?

Upgrade github.com/suyuan32/simple-admin-core to 1.6.8 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-51667 being exploited?

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

Sources

Also known as GHSA-f2m2-4q6r-cwc4, GO-2025-3916.

Is CVE-2025-51667 in your software?

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

Check your SBOMs for free