# CVE-2021-40494: AdaptiveScale LXDUI Hardcoded JWT Secret Key

- 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.75%, higher than 78% of CVEs (2026-11-30)
- Published: 2021-09-03T01:35:26.000Z
- Modified: 2026-06-17T04:07:02.420Z
- Also known as: GHSA-p4xh-4869-8vrg, PYSEC-2021-342
- Weaknesses: CWE-798
- Assigned by: mitre

## Description

A Hardcoded JWT Secret Key in metadata.py in AdaptiveScale LXDUI through 2.1.3 allows attackers to gain admin access to the host system.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lxdui (PyPI): up to 2.1.3; all versions
- adaptivescale lxdui: up to 2.1.3

## 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`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://github.com/AdaptiveScale/lxdui/pull/353> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-40494> (advisory)
- <https://github.com/AdaptiveScale/lxdui/commit/e4bffeb9d69a5700a642cb6424453d1894e50d84> (web)
- <https://github.com/AdaptiveScale/lxdui> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/lxdui/PYSEC-2021-342.yaml> (web)
- <https://github.com/advisories/GHSA-p4xh-4869-8vrg> (advisory)

## Sources

- CVE List: [CVE-2021-40494](https://www.cve.org/CVERecord?id=CVE-2021-40494), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-p4xh-4869-8vrg](https://github.com/advisories/GHSA-p4xh-4869-8vrg), CC-BY-4.0, modified 2024-09-30
- NVD: [CVE-2021-40494](https://nvd.nist.gov/vuln/detail/CVE-2021-40494), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-342](https://osv.dev/vulnerability/PYSEC-2021-342), CC-BY-4.0, modified 2026-06-10

---

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