# CVE-2022-35540: Use of Hard-coded Credentials in AgileConfig.Client

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.52%, higher than 75% of CVEs (2026-12-01)
- Published: 2022-08-18T22:17:40.000Z
- Modified: 2026-06-17T04:51:56.500Z
- Also known as: GHSA-mj5w-w588-j6xg
- Weaknesses: CWE-798
- Assigned by: mitre

## Description

Hardcoded JWT Secret in AgileConfig <1.6.8 Server allows remote attackers to use the generated JWT token to gain administrator access.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- AgileConfig.Client (NuGet): before 1.6.8
- dotnetcore agileconfig: before 1.6.8

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/dotnetcore/AgileConfig/issues/91> (issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-35540> (advisory)
- <https://github.com/dotnetcore/AgileConfig> (package)

## Sources

- CVE List: [CVE-2022-35540](https://www.cve.org/CVERecord?id=CVE-2022-35540), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-mj5w-w588-j6xg](https://github.com/advisories/GHSA-mj5w-w588-j6xg), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-35540](https://nvd.nist.gov/vuln/detail/CVE-2022-35540), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-35540 · Whole record: https://cve.day/CVE-2022-35540.json · Rebuilt by cve.day 2026-11-25T22:58:14.327Z
