Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.8
CVE-2026-43937: YAF.NET admin page lets low‑privilege users run SQL
CVE-2026-43937 · published 5 months ago
Summary
In YAF.NET versions before 4.0.5, a low‑privilege user could access the admin RunSql page and cause the system to execute any SQL commands they supplied. This could let an attacker read, change, or delete data in the forum database. Update YAF.NET to version 4.0.5 or later to close the gap.
What to do
- Update ingo herbote yafnet.core to version 4.0.5.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| nuget | ingo herbote | yafnet.core |
<= 4.0.4 Fix: upgrade to 4.0.5
|
Original advisory text
YAF.NET: Pre-Handler Authorization Bypass on Admin Pages Enabling Blind SQL Execution via `/Admin/RunSql`
YetAnotherForum.NET (YAF.NET) is a C# ASP.NET forum. Prior to 4.0.5, Any admin OnPost… handler executes its side effects before the ResultFilterAttribute rewrites the response to a 302 to /Info/4. The most impactful abuse is /Admin/RunSql, whose OnPostRunQuery binds Editor from the POST body and passes it straight to IDbAccess.RunSql with no caller check, yielding arbitrary SQL execution for any low-privileged user. This vulnerability is fixed in 4.0.5.
References
- https://github.com/YAFNET/YAFNET/security/advisories/GHSA-xhw7-j96h-c3g5 Vendor Advisory
- https://github.com/YAFNET/YAFNET/commit/27f7e671f93698f7e014d5d0fb88320248b8aa20
- https://github.com/YAFNET/YAFNET/releases/tag/v4.0.5
- https://github.com/advisories/GHSA-xhw7-j96h-c3g5
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43937... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-43937 Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Type
CWE-89SQL Injection
CWE-841Improper Enforcement of Behavioral Workflow
Timeline
Published12 May 2026
Updated4 Nov 2026
First seen5 May 2026
Track software like this
Free during beta