NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
.NET
.NET NuGet
Not in CISA KEV
CRITICAL severity

CVE-2017-9785 — Nancy

CRITICAL

CVE-2017-9785 is a critical-severity (CVSS 9.8) Deserialization of Untrusted Data vulnerability in Nancy. A fix is available for Nancy — see the affected versions and patch details below.

Deserialization of Untrusted Data in NancyFX Nancy

Also known asGHSA-mx3q-j2g2-5qxq
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Nov 6, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
3.0%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs87th percentile — riskier than 87% of all scored CVEsHighest risk
1.81%2.40%3.00%3.59%2.3%3.0%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected
.NETNancy.NETNancy

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
.NETNuGetNancyall versions1.4.4dotnet add package Nancy --version 1.4.4
.NETNuGetNancy≥ 2.0.0-alpha&&< 2.0.02.0.0dotnet add package Nancy --version 2.0.0

Affected Products

1 product · 4 configurations
Application
nancynancyfx
≤ 1.4.3
1 version
2.0.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Nancy, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update Nancy to 1.4.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2017-9785 is resolved across your whole dependency graph.

  3. Workarounds

    Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2017-9785 in your dependencies?

Find it across NuGet, including transitive dependencies.

CVE-2017-9785: Nancy RCE — Fixed in 1.4.4