Live threats

All CVEs / DIRACGrid

CVE-2026-61667DIRACGrid DIRAC

SQL Injection and Remote Code Execution in DIRAC DataManagementSystem

Critical 9.9

Priority
59
CVSS 3.1
9.9
EPSS
—
Auth required
Yes
Published
Sep 15, 2026
Updated
Sep 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89, CWE-95
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What happens

DIRAC versions prior to 8.0.79, 9.0.22, and 9.1.10 contain a SQL injection vulnerability in FileCatalogHandler.py that allows authenticated users to inject malicious SQL code. An authenticated attacker can manipulate SQL queries to control values passed to eval(), achieving remote code execution with DIRAC service privileges, fully compromising the system.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 8.0.79, 9.0.22, 9.1.10

Update DIRAC to version 8.0.79, 9.0.22, or 9.1.10 depending on your version branch. Review dirac.cfg, database passwords, stored proxies, and tokens.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for DIRAC.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI dirac ≥ 6 < 8.0.79 8.0.79 pip install "dirac>=8.0.79"
PyPI dirac ≥ 8.1.0a1 < 9.0.22 9.0.22 pip install "dirac>=9.0.22"
PyPI dirac ≥ 9.1.0 < 9.1.10 9.1.10 pip install "dirac>=9.1.10"
PyPI dirac ≥ 6 < 8.0.79 8.0.79 pip install "dirac>=8.0.79"
PyPI dirac ≥ 8.1.0a1 < 9.0.22 9.0.22 pip install "dirac>=9.0.22"
PyPI dirac ≥ 9.1.0 < 9.1.10 9.1.10 pip install "dirac>=9.1.10"

Per OSV / GitHub Advisories (GHSA-m4m7-4cw8-62j6, PYSEC-2026-3463). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.