Skip to content
OpenAdvisories
High · 8.8 CVE-2026-43937 EUVD-2026-29479GHSA-xhw7-j96h-c3g5

YAF.NET: Pre-Handler Authorization Bypass on Admin Pages Enabling Blind SQL Execution via `/Admin/RunSql`

Published May 12, 2026 · Updated May 12, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
YAFNET YAFNET < 4.0.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet YAFNET.Core < 4.0.5 4.0.5 GHSA-xhw7-j96h-c3g5

References