# CVE-2024-24825: DIRAC's TokenManager does not check permissions on cached tokens

Source: https://junglewise.ai/threats/cve-2024-24825-dirac-s-tokenmanager-does-not-check-permissions-on-cached-tokens  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-02-09  
License: CC BY 4.0 with a link back

CVE-2024-24825 · Severity: low · CVSS 3.1 · Published 2024-02-09

DIRAC is a distributed resource framework. In affected versions any user could get a token that has been requested by another user/agent. This may expose resources to unintended parties. This issue has been addressed in release version 8.0.37. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Technologies: [DIRAC (PyPI)](https://junglewise.ai/threats/technologies/dirac). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-24825 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-24825 being exploited in the wild.

**How severe is CVE-2024-24825?** Low severity, with a CVSS score of 3.1, published 9 February 2024.

**Which products and versions are affected?** DIRAC (PyPI) ECOSYSTEM:introduced=8.0.0,fixed=8.0.37, GIT:introduced=0,fixed=f9ddab755b9a69acb85e14d2db851d8ac0c9648c|ECOSYSTEM:introduced=0,fixed=8.0.37.

**Is there a fix for CVE-2024-24825?** Yes. DIRAC (PyPI): upgrade to 8.0.37 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-24825?** Check whether you run DIRAC (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- DIRAC (PyPI): upgrade to 8.0.37 or later

  ```sh
  pip install "DIRAC>=8.0.37"
  ```


## Affected products

- DIRAC (PyPI) ECOSYSTEM:introduced=8.0.0,fixed=8.0.37, GIT:introduced=0,fixed=f9ddab755b9a69acb85e14d2db851d8ac0c9648c|ECOSYSTEM:introduced=0,fixed=8.0.37

## Identifiers

- CVE-2024-24825
- GHSA-59qj-jcjv-662j
- PYSEC-2024-125

## Related threats

- [DIRAC improper certificate validation in PilotWrapper](https://junglewise.ai/threats/cve-2026-61668-dirac-improper-certificate-validation-in-pilotwrapper)
- [DIRAC remote code execution in FileCatalog DatasetManager](https://junglewise.ai/threats/cve-2026-61667-dirac-remote-code-execution-in-filecatalog-datasetmanager)
- [DIRAC RCE via eval injection in RequestManager](https://junglewise.ai/threats/cve-2026-45579-dirac-rce-via-eval-injection-in-requestmanager)
- [PYSEC-2026-1295 - DIRAC: Unauthorized users can read proxy contents during generation](https://junglewise.ai/threats/cve-2024-29905-dirac-unauthorized-users-can-read-proxy-contents-during)
