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

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- 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.96%, higher than 62% of CVEs (2026-12-01)
- Published: 2021-11-02T18:05:11.000Z
- Modified: 2026-07-08T06:27:32.895Z
- Also known as: GHSA-7rq6-7gv8-c37h
- Weaknesses: CWE-862
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- HangfireIO Hangfire: = 1.7.25
- Hangfire.Core (NuGet): from 1.7.25 before 1.7.26
- hangfire hangfire: 1.7.25

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/HangfireIO/Hangfire/security/advisories/GHSA-7rq6-7gv8-c37h> (third-party-advisory, web)
- <https://github.com/HangfireIO/Hangfire/issues/1958> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41238> (advisory)
- <https://github.com/HangfireIO/Hangfire> (package)
- <https://www.nuget.org/packages/Hangfire.Core> (web)

## Sources

- CVE List: [CVE-2021-41238](https://www.cve.org/CVERecord?id=CVE-2021-41238), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-7rq6-7gv8-c37h](https://github.com/advisories/GHSA-7rq6-7gv8-c37h), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-41238](https://nvd.nist.gov/vuln/detail/CVE-2021-41238), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41238 · Whole record: https://cve.day/CVE-2021-41238.json · Rebuilt by cve.day 2026-11-25T22:58:05.308Z
