CVE-2026-43937
HIGH 8.8CVSS 3.1YAFNET: Pre-Handler Authorization Bypass on Admin Pages Enables 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.
- Published
- 12 May 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-841CWE-89
- Also known as
- GHSA-xhw7-j96h-c3g5
- Sources
- NVDJSONOSV GHSA-xhw7-j96h-c3g5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | NuGet | YAFNET.Core | < 4.0.5 | 4.0.5 |
References
- https://github.com/YAFNET/YAFNET/security/advisories/GHSA-xhw7-j96h-c3g5 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-43937 · ADVISORY
- https://github.com/YAFNET/YAFNET/commit/27f7e671f93698f7e014d5d0fb88320248b8aa20 · WEB
- https://github.com/YAFNET/YAFNET · PACKAGE
- https://github.com/YAFNET/YAFNET/releases/tag/v4.0.5 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 12 May 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 May 2026)