Live threats

All CVEs / Nancyfx

CVE-2017-9785Nancyfx Nancy

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Jul 20, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Csrf.cs in NancyFX Nancy before 1.4.4 and 2.x before 2.0-dangermouse has Remote Code Execution via Deserialization of JSON data in a CSRF Cookie.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nancy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet Nancy < 1.4.4 1.4.4 dotnet add package Nancy --version 1.4.4
NuGet Nancy ≥ 2.0.0-alpha < 2.0.0 2.0.0 dotnet add package Nancy --version 2.0.0

Per OSV / GitHub Advisories (GHSA-mx3q-j2g2-5qxq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nancyfxnancy≤ 1.4.3
nancyfxnancy2.0.0
nancyfxnancy2.0.0
nancyfxnancy2.0.0

Official sources

References

Links published by the sources. Open them with care.