# CVE-2023-24828: Use of Cryptographically Weak Pseudo-Random Number Generator in Onedev

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2023-02-07T23:25:11.397Z
- Modified: 2026-06-17T05:39:56.893Z
- Weaknesses: CWE-338
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Onedev is a self-hosted Git Server with CI/CD and Kanban. In versions prior to 7.9.12 the algorithm used to generate access token and password reset keys was not cryptographically secure. Existing normal users (or everyone if it allows self-registration) may exploit this to elevate privilege to obtain administrator permission. This issue is has been addressed in version 7.9.12. Users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- theonedev onedev: < 7.9.12
- onedev_project onedev: before 7.9.12

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/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`

## References

- <https://github.com/theonedev/onedev/security/advisories/GHSA-jf5c-9r77-3j5j> (third-party-advisory)
- <https://github.com/theonedev/onedev/commit/d67dd9686897fe5e4ab881d749464aa7c06a68e5> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2023-24828](https://www.cve.org/CVERecord?id=CVE-2023-24828), CVE Terms of Use, modified 2025-03-10
- NVD: [CVE-2023-24828](https://nvd.nist.gov/vuln/detail/CVE-2023-24828), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-24828 · Whole record: https://cve.day/CVE-2023-24828.json · Rebuilt by cve.day 2026-11-25T22:58:21.869Z
