Security Digest · Vulnerability record

CVE-2026-45579: DIRAC is vulnerable to RCE in RequestManager due to eval on untrusted input

DIRAC is an interware, meaning a software framework for distributed computing.

CVSS 9.9 Critical EPSS 0.9% · p58

Should you act?

Critical, preconditions apply

Severe if exploited, but exploitation needs conditions that may not apply to you. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • 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.9%, percentile 58: FIRST’s model estimates a 0.9% chance of exploitation activity in the next 30 days, higher than 58% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
  • Needs an account (low (any account)). Exposure depends on who can log in.
  • Only applies if your dependency tree includes DIRAC (PyPI) >= 6, < 8.0.79, fixed in 8.0.79; DIRAC (PyPI) >= 8.1.0a1, < 9.0.22, fixed in 9.0.22; DIRAC (PyPI) >= 9.1.0, < 9.1.10, fixed in 9.1.10. Check your lockfile, including transitive dependencies.

What it is

DIRAC is an interware, meaning a software framework for distributed computing. Prior to versions 8.0.79, 9.0.22, and 9.1.10, the RequestManagementSystem/Service/ReqManagerHandler.py exportgetRequestCountersWeb function passes an authenticated caller-controlled groupingAttribute to RequestManagementSystem/DB/RequestDB.py getRequestCountersWeb. An unrecognized value is resolved against the Request object and evaluated as Python code, allowing a crafted dunder attribute expression to reach operating-system functions and execute commands as the account running the DIRAC services. Successful exploitation can expose dirac.cfg, database passwords, stored proxies, and tokens, fully compromise the DIRAC system, and allow alteration of local log evidence. This issue is fixed in versions 8.0.79, 9.0.22, and 9.1.10.

From the GitHub advisory

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 exportgetRequestCountersWeb 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.

Weakness type: CWE-95.

Product: DIRAC (PyPI) · Assigned by: GitHub_M · Published: 2026-09-15

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
PyPIDIRAC>= 6, < 8.0.798.0.79
PyPIDIRAC>= 8.1.0a1, < 9.0.229.0.22
PyPIDIRAC>= 9.1.0, < 9.1.109.1.10
VendorProductAffected versions (per CVE record)
DIRACGridDIRAC>= 6r0, < 8.0.79, >= 9.0.0a1, < 9.0.22, >= 9.1.0, < 9.1.10

Severity scores

Scored byCVSSScoreVector
GitHub_M3.19.9 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub3.19.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: low (any account)
  • User interaction: none
  • Scope: changed (can affect other components)

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

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

Timeline

  • — GitHub-reviewed advisory GHSA-9jpv-c7p4-997x published (critical)
  • — CVE record last updated
  • — CVE record published by GitHub_M

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-9jpv-c7p4-997x github.com
  2. CVE.org record CVE-2026-45579 cve.org
  3. NVD entry CVE-2026-45579 nvd.nist.gov

Other references from the CVE record and advisory

  1. github.com github.com
  2. github.com github.com
  3. github.com github.com
  4. github.com github.com
  5. github.com github.com
  6. github.com github.com
  7. github.com github.com
  8. pypi.org pypi.org
  9. pypi.org pypi.org
  10. pypi.org pypi.org

Critical PyPI advisories · Today’s Security Digest