Skip to content

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

HighCVSS 8.8 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
nuget YAFNET.Core(NuGet) < 4.0.5; <= 4.0.4; = 4.0.0; = 4.0.0-beta03 +14 more 4.0.5 Fixed
YAFNET = < 4.0.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
nuget YAFNET.Core(NuGet) < 4.0.5 4.0.5
nuget YAFNET.Core(NuGet) = 4.0.0 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.0-beta03 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.0-beta04 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.0-beta05 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.0-beta06 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.0-beta07 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.0-beta08 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.0-beta09 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.0-rc01 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.0-rc02 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.0-rc03 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.0-rc04 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.1 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.2 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.3 No fix listed
nuget YAFNET.Core(NuGet) = 4.0.4 No fix listed
YAFNET = < 4.0.5 No fix listed
nuget YAFNET.Core(NuGet) <= 4.0.4 No fix listed

References