Is Refit 5.2 vulnerable?

NuGet · 2 releases from 5.2.1 to 5.2.4 · latest Refit is 17.0.0 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. Refit 5.2.4, the last 5.2 release, is affected by 1 known security advisory (1 critical), including CVE-2024-51501. Upgrade to 7.2.22 or later to fix all of them.

Upgrade with:dotnet add package Refit --version 7.2.22

Is your project on an affected Refit?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting Refit 5.2.4

  • CriticalCVE-2024-51501GHSA-3hxg-fxwm-8gf74 Nov 2024

    CRLF injection in Refit's [Header], [HeaderCollection] and [Authorize] attributes

    Affected
    <7.2.22
    Fixed in
    7.2.22

Every Refit 5.2.x release

Affected: 5.2.1 to 5.2.4. Latest Refit: 17.0.0.

VersionKnown advisories
Refit 5.2.4CVE-2024-51501
Refit 5.2.1CVE-2024-51501

Which of your client projects are still on Refit 5.2?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact Refit version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other Refit versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the NuGet registry. Refreshed daily.