Skip to main content

CVE-2026-45579 — DIRAC is vulnerable to RCE in dirac — CVE Details

CRITICAL

DIRAC is vulnerable to RCE in RequestManager due to eval on untrusted input

Published July 13, 2026Updated November 10, 2026Source: OSV

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.

Check my requirements.txt

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
Update dirac to 8.0.79 or later
pip install "dirac>=8.0.79"
pip
Update dirac to 9.1.10 or later
pip install "dirac>=9.1.10"
pip
Update dirac to 9.0.22 or later
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).

PackageFixed In
dirac PyPI · Affected: 7.2.0, 7.2.0a32, 7.2.0a33, 7.2.0a34 (+217 more)8.0.79
dirac PyPI · Affected: 9.1.0, 9.1.1, 9.1.2, 9.1.3 (+6 more)9.1.10
dirac PyPI · Affected: 8.1.0a1, 8.1.0a10, 8.1.0a11, 8.1.0a12 (+101 more)9.0.22

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

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

CVSS Score
9.9

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.86%
EPSS percentile: 56.2

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

GHSA-9jpv-c7p4-997x
PYSEC-2026-3462

Related CVEs

  • CVE-2026-61667
    CRITICAL

    DIRAC is vulnerable to RCE in FileCatalog DatasetManager via SQL injection + eval

  • CVE-2026-77359
    CRITICAL

    Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes

  • CVE-2026-61667
    CRITICAL

    DIRAC is vulnerable to RCE in FileCatalog DatasetManager via SQL injection + eval

  • CVE-2026-77312
    CRITICAL

    Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my requirements.txt