CVE-2026-45579 — DIRAC is vulnerable to RCE in dirac — CVE Details
DIRAC is vulnerable to RCE in RequestManager due to eval on untrusted input
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.86%). Schedule for your next planned update.
Does your project use an affected dirac version?
Paste your requirements.txt to check it for CVE-2026-45579 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
An remote code execution vulnerability exists in RequestManager due to the use of eval on untrusted input that allows any authenticated user to run code/commands on the DIRAC server as the system user running the DIRAC services.
Details
The export_getRequestCountersWeb function is callable by any authenticated user and just passes its parameters directly to the database instance: https://github.com/DIRACGrid/DIRAC/blob/f7e0a3ac153315030fb3520e8ca747f013758967/src/DIRAC/RequestManagementSystem/Service/ReqManagerHandler.py#L270
If the groupingAttribute string is unrecognised, Request. is prepended to it and the result is passed into an eval() call:
https://github.com/DIRACGrid/DIRAC/blob/f7e0a3ac153315030fb3520e8ca747f013758967/src/DIRAC/RequestManagementSystem/DB/RequestDB.py#L766-L776
By passing in a dunder string that is applicable to the Request object, it's possible to work back up to functions in the os module and trigger them to be called in the server context.
There are other uses of eval in ReqManager/RequestDB which may be equally accessible.
Impact
This allows any authenticated user to run commands on the server, which allows a full compromise of the DIRAC system (they can read the local dirac.cfg, get database passwords and export all stored proxies and tokens). If local logging is used, they can also remove evidence of the exploit from the log (it leaves an exception printout in the RequestManager log when used).
Patched versions:
https://pypi.org/project/DIRAC/8.0.79/ https://pypi.org/project/DIRAC/9.0.22/ https://pypi.org/project/DIRAC/9.1.10/
Advisory Timeline
- First published July 13, 2026 (136 days ago).
- Last revised November 10, 2026 — 120 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "dirac>=8.0.79"
pip install "dirac>=9.1.10"
pip install "dirac>=9.0.22"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: PyPI (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-95
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/DIRACGrid/DIRAC/security/advisories/GHSA-9jpv-c7p4-997xWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45579ADVISORY
- https://github.com/DIRACGrid/DIRAC/commit/8ec11072f48103d94e8b7cca831e2c7ce304d6c7WEB
- https://github.com/DIRACGrid/DIRAC/commit/99f1af88b525e69a77f204aebf7d8df3b6056142WEB
- https://github.com/DIRACGrid/DIRAC/commit/a6f75ce5d369254d46ca6f1d39e3f384366fa396WEB
- https://github.com/DIRACGrid/DIRACPACKAGE
- https://github.com/DIRACGrid/DIRAC/releases/tag/v8.0.79WEB
- https://github.com/DIRACGrid/DIRAC/releases/tag/v9.0.22WEB
- https://github.com/DIRACGrid/DIRAC/releases/tag/v9.1.10WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/dirac/PYSEC-2026-3462.yamlWEB
- https://pypi.org/project/DIRAC/8.0.79WEB
- https://pypi.org/project/DIRAC/9.0.22WEB
- https://pypi.org/project/DIRAC/9.1.10WEB
Frequently Asked Questions
- What is CVE-2026-45579?
- DIRAC is vulnerable to RCE in RequestManager due to eval on untrusted input. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2026-45579?
- CVE-2026-45579 affects dirac. It has a 0.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-45579 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 56.2% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-61667CRITICAL
DIRAC is vulnerable to RCE in FileCatalog DatasetManager via SQL injection + eval
- CVE-2026-77359CRITICAL
Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes
- CVE-2026-61667CRITICAL
DIRAC is vulnerable to RCE in FileCatalog DatasetManager via SQL injection + eval
- CVE-2026-77312CRITICAL
Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)