# CVE-2020-5222: Hard-Coded Key Used For Remember-me Token in OpenCast

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N`
- 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.94%, higher than 61% of CVEs (2026-12-01)
- Published: 2020-01-30T20:50:13.000Z
- Modified: 2026-09-10T03:48:42.446Z
- Also known as: GHSA-mh8g-hprg-8363
- Weaknesses: CWE-798
- Assigned by: GitHub_M

## Description

Opencast before 7.6 and 8.1 enables a remember-me cookie based on a hash created from the username, password, and an additional system key. This means that an attacker getting access to a remember-me token for one server can get access to all servers which allow log-in using the same credentials without ever needing the credentials. This problem is fixed in Opencast 7.6 and Opencast 8.1

(As written by CVE List.)

## Affected

- opencast opencast: < 7.6; >= 8.0, < 8.1
- org.opencastproject:opencast-kernel (Maven): before 7.6; from 8.0 before 8.1
- apereo opencast: before 7.6; 8.0

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/opencast/opencast/security/advisories/GHSA-mh8g-hprg-8363> (mitigation, third-party-advisory, web)
- <https://github.com/opencast/opencast/commit/1a7172c95af8d542a77ae5b153e4c834dd4788a6> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5222> (advisory)

## Sources

- CVE List: [CVE-2020-5222](https://www.cve.org/CVERecord?id=CVE-2020-5222), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-mh8g-hprg-8363](https://github.com/advisories/GHSA-mh8g-hprg-8363), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-5222](https://nvd.nist.gov/vuln/detail/CVE-2020-5222), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5222 · Whole record: https://cve.day/CVE-2020-5222.json · Rebuilt by cve.day 2026-11-25T22:57:50.726Z
