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

> An authenticated attacker can execute arbitrary code via Python eval in DIRAC RequestManager, leading to full system compromise and credential theft.

- **Severity:** Critical 9.9 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 15 Sep 2026
- **Updated:** 15 Sep 2026
- **Also known as:** GHSA-9jpv-c7p4-997x, PYSEC-2026-3462

## What is CVE-2026-45579?

CVE-2026-45579 is a critical code injection vulnerability in DIRACGrid DIRAC, published on 15 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

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

Weakness: CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code)

## Which versions are affected by CVE-2026-45579?

7 open source packages ship an affected version, including dirac and DIRAC.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `dirac` | PyPI | From 6 | 8.0.79, 9.0.22, 9.1.10 |
| `dirac` | PyPI | From 6 | 8.0.79 |
| `dirac` | PyPI | From 8.1.0a1 | 9.0.22 |
| `dirac` | PyPI | From 9.1.0 | 9.1.10 |
| `DIRAC` | PyPI | From 6 | 8.0.79 |
| `DIRAC` | PyPI | From 8.1.0a1 | 9.0.22 |
| `DIRAC` | PyPI | From 9.1.0 | 9.1.10 |

## How do I fix CVE-2026-45579?

Upgrade dirac to a fixed version for your release line: 8.0.79, 9.0.22 or 9.1.10.

## Is CVE-2026-45579 being exploited?

There is no known exploitation of CVE-2026-45579 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-45579 and fix it if it is affected.

What it is: CVE-2026-45579 is a critical code injection vulnerability in DIRACGrid DIRAC, published on 15 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-45579 in the wild and no public exploit code.

Affected packages and fixed versions:
- dirac (PyPI): affected from 6; fixed in 8.0.79, 9.0.22, 9.1.10
- dirac (PyPI): affected from 6; fixed in 8.0.79
- dirac (PyPI): affected from 8.1.0a1; fixed in 9.0.22
- dirac (PyPI): affected from 9.1.0; fixed in 9.1.10
- DIRAC (PyPI): affected from 6; fixed in 8.0.79
- DIRAC (PyPI): affected from 8.1.0a1; fixed in 9.0.22
- DIRAC (PyPI): affected from 9.1.0; fixed in 9.1.10

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-45579/ (Markdown: https://insights.sbomify.com/CVE-2026-45579/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-45579
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-45579
- OSV: https://osv.dev/vulnerability/CVE-2026-45579

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-45579/
Summaries are generated and may contain mistakes; the official description above is the record.
