# CVE-2024-25718: Samly access control vulnerability

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/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.66%, higher than 53% of CVEs (2026-12-01)
- Published: 2024-02-11T00:00:00.000Z
- Modified: 2026-09-10T03:50:06.219Z
- Also known as: GHSA-h3rw-77w7-92gf
- Weaknesses: CWE-400, CWE-613
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

In the Samly package before 1.4.0 for Elixir, Samly.State.Store.get_assertion/3 can return an expired session, which interferes with access control because Samly.AuthHandler uses a cached session and does not replace it, even after expiry.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- samly elixr: before 1.4.0
- Samly (Hex): before 1.4.0
- dropbox samly: before 1.4.0

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/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`

## References

- <https://hex.pm/packages/samly> (release-notes, web)
- <https://github.com/handnot2/samly> (product, web)
- <https://github.com/dropbox/samly> (package, product)
- <https://diff.hex.pm/diff/samly/1.3.0..1.4.0> (patch, web)
- <https://github.com/dropbox/samly/pull/13> (patch, web)
- <https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-25718> (advisory)
- <https://github.com/dropbox/samly/commit/7637ebeef6c6b88ec2032f5323c32edcebbacbc6> (web)

## Sources

- CVE List: [CVE-2024-25718](https://www.cve.org/CVERecord?id=CVE-2024-25718), CVE Terms of Use, modified 2025-04-24
- GitHub Advisory Database: [GHSA-h3rw-77w7-92gf](https://github.com/advisories/GHSA-h3rw-77w7-92gf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-25718](https://nvd.nist.gov/vuln/detail/CVE-2024-25718), Public domain, modified 2026-06-17

---

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