---
title: "CVE-2024-25718: Samly access control vulnerability"
url: https://erroneo.us/security/cve/CVE-2024-25718/
description: "CVE-2024-25718 (Samly (Hex (Erlang/Elixir))): In the Samly package before 1.4.0 for Elixir, Samly.State.Store.getassertion/3 can return an expired session…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-02-11
date_modified: 2025-04-24
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-25718"
kev: false
cvss: 9.3
epss: 0.00664
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-25718: Samly access control vulnerability

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.7% , percentile 51: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 51% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes Samly (Hex (Erlang/Elixir)) < 1.4.0, fixed in 1.4.0 . Check your lockfile, including transitive dependencies.

## What it is

In the Samly package before 1.4.0 for Elixir, Samly.State.Store.getassertion/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.

## Affected packages

- Hex (Erlang/Elixir) `Samly` < 1.4.0 → fixed: 1.4.0

## Affected products (CVE record)

- n/a n/a: see advisory

## Severity

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

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.66% probability of exploitation activity in the next 30 days; percentile 51.

## Sources

- [GitHub Advisory GHSA-h3rw-77w7-92gf](https://github.com/advisories/GHSA-h3rw-77w7-92gf)
- [CVE.org record CVE-2024-25718](https://www.cve.org/CVERecord?id=CVE-2024-25718)
- [NVD entry CVE-2024-25718](https://nvd.nist.gov/vuln/detail/CVE-2024-25718)
- [hex.pm](https://hex.pm/packages/samly)
- [github.com](https://github.com/handnot2/samly)
- [github.com](https://github.com/dropbox/samly)
- [diff.hex.pm](https://diff.hex.pm/diff/samly/1.3.0..1.4.0)
- [github.com](https://github.com/dropbox/samly/pull/13)
- [github.com](https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb)
- [github.com](https://github.com/dropbox/samly/commit/7637ebeef6c6b88ec2032f5323c32edcebbacbc6)

---
Source page: https://erroneo.us/security/cve/CVE-2024-25718/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
