# CVE-2021-41238: Missing Authorization with Default Settings in Dashboard UI

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.96% (percentile 60, 2026-11-28)
- **CWE:** CWE-862
- **Aliases:** GHSA-7rq6-7gv8-c37h
- **Published:** 2021-11-02T18:05:11.000Z
- **Modified:** 2026-07-08T06:27:32.895Z

## Who should check

- Projects that depend on NuGet package Hangfire.Core (\>= 1.7.25, \< 1.7.26)
- Anyone running HangfireIO Hangfire = 1.7.25

## Description

Hangfire is an open source system to perform background job processing in a .NET or .NET Core applications. No Windows Service or separate process required. Dashboard UI in Hangfire.Core uses authorization filters to protect it from showing sensitive data to unauthorized users. By default when no custom authorization filters specified, \`LocalRequestsOnlyAuthorizationFilter\` filter is being used to allow only local requests and prohibit all the remote requests to provide sensible, protected by default settings. However due to the recent changes, in version 1.7.25 no authorization filters are used by default, allowing remote requests to succeed. If you are using \`UseHangfireDashboard\` method with default \`DashboardOptions.Authorization\` property value, then your installation is impacted. If any other authorization filter is specified in the \`DashboardOptions.Authorization\` property, the you are not impacted. Patched versions (1.7.26) are available both on Nuget.org and as a tagged release on the github repo. Default authorization rules now prohibit remote requests by default again by including the \`LocalRequestsOnlyAuthorizationFilter\` filter to the default settings. Please upgrade to the newest version in order to mitigate the issue. For users who are unable to upgrade it is possible to mitigate the issue by using the \`LocalRequestsOnlyAuthorizationFilter\` explicitly when configuring the Dashboard UI.

## Affected and fixed versions

- NuGet `Hangfire.Core`: affected \>= 1.7.25, \< 1.7.26; fixed 1.7.26 (osv)
- HangfireIO Hangfire: = 1.7.25 (cvelist)

## Mitigation

- Upgrade Hangfire.Core to 1.7.26 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-41238. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-41238.md
Affected: Hangfire.Core >= 1.7.25, < 1.7.26
Fixed in: 1.7.26

Steps:
1. Search this machine and project for Hangfire.Core (NuGet), HangfireIO Hangfire: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-41238 being exploited?

There is no confirmed exploitation: CVE-2021-41238 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.96% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2021-41238?

High: CVSS 8.6 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2021-41238?

Hangfire.Core \>= 1.7.25, \< 1.7.26.

### Is there a fix for CVE-2021-41238?

Yes. Fixed in 1.7.26. Upgrade Hangfire.Core to 1.7.26 or later.

### How do I check if I'm affected by CVE-2021-41238?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/HangfireIO/Hangfire/security/advisories/GHSA-7rq6-7gv8-c37h>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2021-41238>
- other: <https://github.com/HangfireIO/Hangfire/issues/1958>
- other: <https://github.com/HangfireIO/Hangfire>
- other: <https://www.nuget.org/packages/Hangfire.Core>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-41238>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7rq6-7gv8-c37h> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2021-41238> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-41238>
