# CVE-2022-26779: Apache Cloudstack insecure random number generation affects project email invitation

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:L/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): 2.85%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-15T15:40:11.000Z
- Modified: 2026-06-17T04:35:48.100Z
- Weaknesses: CWE-338
- Assigned by: apache

## Description

Apache CloudStack prior to 4.16.1.0 used insecure random number generation for project invitation tokens. If a project invite is created based only on an email address, a random token is generated. An attacker with knowledge of the project ID and the fact that the invite is sent, could generate time deterministic tokens and brute force attempt to use them prior to the legitimate receiver accepting the invite. This feature is not enabled by default, the attacker is required to know or guess the project ID for the invite in addition to the invitation token, and the attacker would need to be an existing authorized user of CloudStack.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache CloudStack: from Apache CloudStack before 4.16.1
- apache cloudstack: before 4.16.1.0

## Every score

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

## References

- <https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-vpcc-9rh2-8jfp> (exploit, patch, third-party-advisory)
- <https://lists.apache.org/thread/dmm07b1cyosovqr12ddhkko501p11h2h> (mailing-list, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2022/03/15/1> (mailing-list, third-party-advisory)

## Sources

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

---

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