CVE-2026-61667
DIRAC: RCE in FileCatalog DatasetManager via SQL injection + eval
Also known as GHSA-m4m7-4cw8-62j6, PYSEC-2026-3463
Mitigation
- Upgrade dirac to one of 8.0.79, 9.0.22, 9.1.10 (or later in the same release line).
Who should check
- Projects that depend on PyPI package dirac (>= 6, < 8.0.79)
- Anyone running DIRACGrid DIRAC >= 6r0, < 8.0.79; >= 9.0.0a1, < 9.0.22; >= 9.1.0, < 9.1.10
Vulnerability facts
- Affected
- dirac >= 6, < 8.0.79
- Fixed in
- 8.0.79, 9.0.22, 9.1.10
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 9.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.21% chance of exploitation in 30 days (percentile 68, 2026-11-26)
- CWE
- CWE-89, CWE-95
- Modified
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 and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-61667. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-61667.md Affected: dirac >= 6, < 8.0.79 Fixed in: 8.0.79, 9.0.22, 9.1.10 Steps: 1. Search this machine and project for dirac (PyPI), DIRACGrid DIRAC: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/DIRACGrid/DIRAC/commit/106f6efb40eb7318473fc09fc48083f1f864460a
- https://github.com/DIRACGrid/DIRAC/commit/55ecbd729242ddbe06251b57895873cc468f5a1a
- https://github.com/DIRACGrid/DIRAC/commit/5a5def88d65a18c77af9f2900ffb5866d6489d62
- https://github.com/DIRACGrid/DIRAC/commit/66cfc8bf1dc13a6d38bf0c5654d5b551d76dce9b
- https://github.com/DIRACGrid/DIRAC/commit/6f6fe65f27b6913916ef77a77a09918b94029c0a
- https://github.com/DIRACGrid/DIRAC/commit/fabf08a4a403fdd92d3445771528fa54b3ee902f
Other
- https://github.com/DIRACGrid/DIRAC/releases/tag/v8.0.79
- https://github.com/DIRACGrid/DIRAC/releases/tag/v9.0.22
- https://github.com/DIRACGrid/DIRAC/releases/tag/v9.1.10
- https://github.com/DIRACGrid/DIRAC
- https://github.com/pypa/advisory-database/tree/main/vulns/dirac/PYSEC-2026-3463.yaml
- https://pypi.org/project/DIRAC/8.0.79
- https://pypi.org/project/DIRAC/9.0.22
- https://pypi.org/project/DIRAC/9.1.10
- https://pypi.org/project/dirac
FAQ
Is CVE-2026-61667 being exploited?
There is no confirmed exploitation: CVE-2026-61667 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-61667?
Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-61667?
dirac >= 6, < 8.0.79.
Is there a fix for CVE-2026-61667?
Yes. Fixed in 8.0.79, 9.0.22, 9.1.10. Upgrade dirac to one of 8.0.79, 9.0.22, 9.1.10 (or later in the same release line).
How do I check if I'm affected by CVE-2026-61667?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.