simple-admin-core SQL Injection vulnerabilityGHSA-f2m2-4q6r-cwc4
HIGHFix: suyuan32/simple-admin-core@f1e2c4fGHSA-f2m2-4q6r-cwc4 is a high-severity (CVSS 7) SQL Injection vulnerability in github.com/suyuan32/simple-admin-core. A fix is available for github.com/suyuan32/simple-admin-core — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for GHSA-f2m2-4q6r-cwc4.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/suyuan32/simple-admin-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/suyuan32/simple-admin-core | ≥ 1.2.0&&< 1.6.8 | 1.6.8go get github.com/suyuan32/simple-admin-core@v1.6.8 |
Affected Products
simple adminryansuDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/suyuan32/simple-admin-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/suyuan32/simple-admin-core to 1.6.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-f2m2-4q6r-cwc4 is resolved across your whole dependency graph.
Workarounds
Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs.
Frequently Asked Questions
Is GHSA-f2m2-4q6r-cwc4 in your dependencies?
Find it across Go, including transitive dependencies.