Vulnerability · Published Sep 15, 2026 · Assigned by GitHub_M
CVE-2026-61667DIRAC: RCE in FileCatalog DatasetManager via SQL injection + eval
Critical 9.9
In plain English
A critical-severity SQL injection in DIRAC from DIRACGrid. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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, DataManagementSystem/Service/FileCatalogHandler.py checkDataset forwards an authenticated caller-controlled datasets value to DatasetManager.py __checkDataset, where datasetName is interpolated into an FC_MetaDatasets SQL query without parameterization. The injected query can control the returned MetaQuery value, which is passed to Python eval and permits command execution 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | dirac | 8.0.79 | GHSA-m4m7-4cw8-62j6 |
| PyPI | dirac | 9.0.22 | GHSA-m4m7-4cw8-62j6 |
| PyPI | dirac | 9.1.10 | GHSA-m4m7-4cw8-62j6 |
| PyPI | dirac | 8.0.79, 9.0.22, 9.1.10 | PYSEC-2026-3463 |
Affected products (as reported)
Weakness: CWE-89, CWE-95 · Vector: 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-m4m7-4cw8-62j6 x_refsource_CONFIRM
- https://github.com/DIRACGrid/DIRAC/commit/106f6efb40eb7318473fc09fc48083f1f864460a x_refsource_MISC
- https://github.com/DIRACGrid/DIRAC/commit/55ecbd729242ddbe06251b57895873cc468f5a1a x_refsource_MISC
- https://github.com/DIRACGrid/DIRAC/commit/5a5def88d65a18c77af9f2900ffb5866d6489d62 x_refsource_MISC
- https://github.com/DIRACGrid/DIRAC/commit/66cfc8bf1dc13a6d38bf0c5654d5b551d76dce9b x_refsource_MISC
- https://github.com/DIRACGrid/DIRAC/commit/6f6fe65f27b6913916ef77a77a09918b94029c0a x_refsource_MISC
- https://github.com/DIRACGrid/DIRAC/commit/fabf08a4a403fdd92d3445771528fa54b3ee902f x_refsource_MISC
- https://github.com/DIRACGrid/DIRAC/releases/tag/v8.0.79 x_refsource_MISC
- https://github.com/DIRACGrid/DIRAC/releases/tag/v9.0.22 x_refsource_MISC
- https://github.com/DIRACGrid/DIRAC/releases/tag/v9.1.10 x_refsource_MISC