CVE-2026-61667
9.9DIRACGrid · DIRAC
DIRAC is vulnerable to SQL injection and subsequent code execution via unsafe dataset handling in FileCatalogHandler.py, allowing authenticated attackers to achieve full system compromise.
Executive summary
An authenticated remote code execution vulnerability in the DIRAC framework allows attackers to compromise the entire system through SQL injection and unsafe dynamic code evaluation.
Vulnerability
The flaw exists in the FileCatalogHandler.py module, where user-supplied dataset names are interpolated into SQL queries without proper parameterization. This injection allows an authenticated attacker to manipulate the query result, which is then passed to a Python eval function, resulting in arbitrary code execution with the privileges of the DIRAC service.
Business impact
Successful exploitation poses a critical risk to the organization as it grants the attacker complete control over the DIRAC environment. With a CVSS score of 9.9, this vulnerability enables the theft of sensitive configuration files, database credentials, and security tokens, while also facilitating the destruction of local audit logs. Such a compromise could lead to widespread data exfiltration and total loss of integrity for the distributed computing infrastructure.
Remediation
Immediate Action: Upgrade to DIRAC versions 8.0.79, 9.0.22, or 9.1.10 respectively, depending on the currently deployed branch, to incorporate the necessary parameterization and security fixes.
Proactive Monitoring: Review application logs for unusual SQL query patterns or attempts to pass unexpected directives to the dataset management service.
Compensating Controls: Implement strict network segmentation and restrict access to the DIRAC management interfaces to authorized users only, while utilizing a Web Application Firewall to inspect traffic for common SQL injection sequences.
Exploitation status
Public Exploit Available: No (exploit_available: unknown)
Analyst recommendation
Given the critical severity of this vulnerability and the potential for full system takeover, administrators should prioritize patching immediately. Ensure that all DIRAC services are updated to the specified secure versions to eliminate the underlying code injection vector. Failure to remediate this flaw leaves the entire distributed computing framework exposed to unauthorized command execution.
More DIRACGrid CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief critical section
Sources
- https://github.com/DIRACGrid/DIRAC/security/advisories/GHSA-m4m7-4cw8-62j6
- 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
- https://github.com/DIRACGrid/DIRAC/releases/tag/v8.0.79