{"answers":{"affected":"3 open source packages ship an affected version, including github.com/suyuan32/simple-admin-core. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51667 exists.","fix":"Upgrade github.com/suyuan32/simple-admin-core to 1.6.8 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2025-51667 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51667 exists.\n\nAffected packages and fixed versions:\n- github.com/suyuan32/simple-admin-core (Go): affected from 1.2.0; fixed in 1.6.8\n- github.com/suyuan32/simple-admin-core (Go): affected from 1.2.0; fixed in 1.6.8\n- github.com/suyuan32/simple-admin-core (Go): affected from 1.2.0; fixed in 1.6.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-51667/ (Markdown: https://insights.sbomify.com/CVE-2025-51667/index.md)","id":"CVE-2025-51667","markdown":"https://insights.sbomify.com/CVE-2025-51667/index.md","name":"CVE-2025-51667","record":{"aliases":["GHSA-f2m2-4q6r-cwc4","GO-2025-3916"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go admin library","requires_auth":"none","summary":"SQL injection in simple-admin-core allows attackers to leak data or disrupt operations via the role update interface.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"simple_admin","vendor":"ryansu"}],"cvss":{"score":7,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"simple-admin-core SQL Injection vulnerability","id":"CVE-2025-51667","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"sql_injection","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"SQL injection in n/a","id":"CVE-2025-51671"},"packages":[{"ecosystem":"Go","fixed":["1.6.8"],"introduced":["1.2.0"],"last_affected":[],"package":"github.com/suyuan32/simple-admin-core","purl":null,"source":"GHSA-f2m2-4q6r-cwc4"},{"ecosystem":"Go","fixed":["1.6.8"],"introduced":["1.2.0"],"last_affected":[],"package":"github.com/suyuan32/simple-admin-core","purl":"pkg:golang/github.com/suyuan32/simple-admin-core","source":"GHSA-f2m2-4q6r-cwc4"},{"ecosystem":"Go","fixed":["1.6.8"],"introduced":["1.2.0"],"last_affected":[],"package":"github.com/suyuan32/simple-admin-core","purl":"pkg:golang/github.com/suyuan32/simple-admin-core","source":"GO-2025-3916"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2025-51663"},"products":["n/a"],"published":"2025-08-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-08-27","vendors":["n/a"]},"summary":"SQL injection in simple-admin-core allows attackers to leak data or disrupt operations via the role update interface.","url":"https://insights.sbomify.com/CVE-2025-51667/"}