DIRAC: SQL injection and lack of access control in PilotManager service
Affects DIRACSource GCVE Database
CVSS 8.5 High : upgrade to 8.0.79 soon.
Data as of 14 Jul 2026, 09:55 UTC
- Patch
- Available – fixed in 8.0.79, 9.0.22, 9.1.10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:NWhat to do
Upgrade DIRAC to 8.0.79; DIRAC to 9.0.22; DIRAC to 9.1.10.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIDIRAC | Affected
| Fixed in
|
| PyPIDIRAC | Affected
| Fixed in
|
| PyPIDIRAC | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in DIRAC versions 8.0.79, 9.0.22, and 9.1.10. Users should upgrade to one of these patched versions to address the SQL injection and access control issues. The patch implements proper parameter substitution in SQL queries and enforces stricter access control rules for PilotManager functions.
Description
The DIRAC PilotManager service contains a SQL injection vulnerability due to unsafe parameter handling in database queries combined with insufficient access control. Functions in the PilotManager pass parameters directly to the database without proper escaping, enabling crafted inputs to manipulate or retrieve unauthorized data. Additionally, the PilotManager access control is set only to "authenticated," allowing any authenticated user to invoke these sensitive functions. This vulnerability allows unauthorized users to read or delete pilot job data. The issue is fixed in DIRAC versions 8.0.79, 9.0.22, and 9.1.10 by implementing proper parameter substitution and stricter access controls.