CVE-2026-43937
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedYetAnotherForum.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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceYAF.NET versions prior to 4.0.5 have a missing function-level access control vulnerability in the /Admin/RunSql endpoint. The OnPostRunQuery handler binds the Editor parameter directly from POST data and passes it to IDbAccess.RunSql without any authorization check, allowing any authenticated user (including low-privileged users) to execute arbitrary SQL commands. The vulnerability is compounded by a race condition where admin handlers execute before the ResultFilterAttribute can redirect unauthorized access.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify YAF.NET versionLocate the YAF.NET assembly files (typically in the /bin directory) or check version information in web.config/appSettings. Compare the installed version number against the affected range (versions prior to 4.0.5).Affected if The installed version is lower than 4.0.5.
-
Verify /Admin/RunSql endpoint existsCheck if the RunSql handler file exists in the application's admin directory or attempt a HEAD request to /Admin/RunSql to confirm the endpoint is registered.Affected if The endpoint is present and accessible.
-
Check for low-privileged authenticated usersReview the user database or user configuration to determine if non-admin users exist in the system who could potentially access the vulnerable endpoint.Affected if Low-privileged or standard users exist in the system.
-
Confirm authorization bypass conditionVerify that the ResultFilterAttribute or any authorization filter is applied to admin handlers. Check the order of filter execution in the request pipeline to confirm the race condition exists.Affected if Authorization filters execute after the admin handler logic or are not applied to the RunSql endpoint.
You are affected if YAF.NET version is below 4.0.5 AND the /Admin/RunSql endpoint exists AND low-privileged users can authenticate to the application.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to YAF.NET version 4.0.5 or later. Until then, disable or restrict access to the RunSql functionality at the web server or application level.
4.0.5
- Backup your existing database and application files before proceeding
- Identify your current YAF.NET version by checking the assemblies or admin panel
- Download YAF.NET version 4.0.5 from the official GitHub releases page (github.com/YAFNET/YAFNET)
- Deploy the new version files to your web server, replacing the existing files
- Verify the application runs correctly and test the /Admin/RunSql functionality to confirm the vulnerability is patched
- Ensure your database is intact and all forum functionality works as expected
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-43937 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-43937 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data