{"id":"CVE-2026-43937","published":"2026-05-12T14:00:35Z","modified":"2026-05-12T15:42:43Z","title":"YAF.NET: Pre-Handler Authorization Bypass on Admin Pages Enabling Blind SQL Execution via `/Admin/RunSql`","vendor":"YAFNET","product":"YAFNET","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00489,"percentile":0.42974,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"},{"id":"CWE-841","name":"Improper Enforcement of Behavioral Workflow"}],"references":[{"url":"https://github.com/YAFNET/YAFNET/security/advisories/GHSA-xhw7-j96h-c3g5","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":8.59},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"yafnet","affectedVersions":[{"vendor":"YAFNET","product":"YAFNET","versions":["< 4.0.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-12T15:42:40.301152Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"YAFNET.Core","vulnerableRanges":["<4.0.5"],"patched":["4.0.5"],"from":["GHSA-xhw7-j96h-c3g5"],"provenance":"source"}],"summary":{"text":"YAF.NET, the C# ASP.NET forum product by YAFNET, contains a pre-handler authorization bypass in its admin pages: prior to version 4.0.5, admin OnPost handlers execute their side effects before the response is redirected, and the most serious case is the /Admin/RunSql page, which passes a POST-supplied query directly to the database access layer without checking the caller's rights. An attacker with only a low-privileged network-reachable account and no user interaction can execute arbitrary SQL against the forum's database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:40Z"},"euvd":{"id":"EUVD-2026-29479","exploited":false,"provenance":"source"}}