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

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T20:32:27.000Z
- Modified: 2026-06-17T10:50:05.600Z
- Also known as: GHSA-xhw7-j96h-c3g5
- Weaknesses: CWE-89, CWE-841
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- YAFNET YAFNET: < 4.0.5
- YAFNET.Core (NuGet): before 4.0.5

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/YAFNET/YAFNET/security/advisories/GHSA-xhw7-j96h-c3g5> (exploit, 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)

## Sources

- CVE List: [CVE-2026-43937](https://www.cve.org/CVERecord?id=CVE-2026-43937), CVE Terms of Use, modified 2026-05-12
- GitHub Advisory Database: [GHSA-xhw7-j96h-c3g5](https://github.com/advisories/GHSA-xhw7-j96h-c3g5), CC-BY-4.0, modified 2026-05-13
- NVD: [CVE-2026-43937](https://nvd.nist.gov/vuln/detail/CVE-2026-43937), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-43937 · Whole record: https://cve.day/CVE-2026-43937.json · Rebuilt by cve.day 2026-11-25T22:59:21.358Z
