# CVE-2024-1902: Session Reuse Vulnerability in lunary-ai/lunary

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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.39%, higher than 34% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-10T17:08:05.267Z
- Modified: 2026-06-17T07:05:15.337Z
- Weaknesses: CWE-821
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

lunary-ai/lunary is vulnerable to a session reuse attack, allowing a removed user to change the organization name without proper authorization. The vulnerability stems from the lack of validation to check if a user is still part of an organization before allowing them to make changes. An attacker can exploit this by using an old authorization token to send a PATCH request, modifying the organization's name even after being removed from the organization. This issue is due to incorrect synchronization and affects the orgs.patch route.

(As written by CVE List.)

## Affected

- lunary-ai lunary-ai/lunary: from unspecified before 1.2.8
- lunary-ai lunary: before 1.2.8
- lunary lunary: before 1.2.8

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://huntr.com/bounties/e536310e-abe7-4585-9cf6-21f77390a5e8> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/lunary-ai/lunary/commit/d8e2e73efd53ab4e92cf47bbf4b639a9f08853d2> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-1902 · Whole record: https://cve.day/CVE-2024-1902.json · Rebuilt by cve.day 2026-11-25T22:58:39.056Z
