Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

DIRAC is vulnerable to RCE in FileCatalog DatasetManager via SQL injection + eval (CVE-2026-61667)

0
Critical
Published: 07/13/2026 (07/13/2026, 18:37:31 UTC)
Source: GCVE Database
Product: DIRAC

Description

DIRAC's FileCatalog DatasetManager contains an SQL injection vulnerability in the checkDataset function, which constructs database queries using unescaped f-strings. The query result is then passed directly to eval, enabling authenticated users to execute arbitrary code on the server. This vulnerability allows full system compromise, including access to sensitive configuration files, database credentials, and stored tokens. The issue affects DIRAC versions from 6 up to but not including 8.0.79, and versions from 9.1.0 up to but not including 9.1.10. Patches are available in versions 8.0.79, 9.0.22, and 9.1.10.

CVSS v3.1

Score 9.9critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected software

PyPIghsa
DIRAC
Affected versions
>=6 <8.0.79
PyPIghsa
DIRAC
Affected versions
>=8.1.0a1 <9.0.22
PyPIghsa
DIRAC
Affected versions
>=9.1.0 <9.1.10

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/14/2026, 09:55:42 UTC

Technical Analysis

The FileCatalog DatasetManager in DIRAC improperly constructs SQL queries using unescaped f-strings, leading to SQL injection. The injected SQL result is passed to eval without sanitization, resulting in remote code execution for authenticated users. This flaw allows attackers to execute arbitrary commands on the server, compromising the entire DIRAC system. Multiple functions in the same module exhibit similar patterns and may be vulnerable. The vulnerability is tracked as CVE-2026-61667 and has been fixed in DIRAC versions 8.0.79, 9.0.22, and 9.1.10.

Potential Impact

Authenticated users can exploit this vulnerability to execute arbitrary code on the DIRAC server, leading to full system compromise. Attackers can access sensitive files such as dirac.cfg, extract database passwords, and export stored proxies and tokens. They can also potentially erase logs to cover their tracks, severely impacting confidentiality, integrity, and availability of the system.

Mitigation Recommendations

A fix is available. Users should upgrade DIRAC to versions 8.0.79, 9.0.22, or 9.1.10 or later. Applying these patches will remediate the SQL injection and remote code execution vulnerabilities in the FileCatalog DatasetManager. No additional mitigation steps are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-m4m7-4cw8-62j6
Osv Schema Version
1.4.0
Aliases
["CVE-2026-61667"]
Ecosystems
["PyPI"]
Database Specific Severity
CRITICAL
Cvss Version
3.1

Threat ID: 6a55ffa968715ace432fa01f

Added to database: 07/14/2026, 09:21:45 UTC

Last enriched: 07/14/2026, 09:55:42 UTC

Last updated: 07/31/2026, 12:27:30 UTC

Views: 60

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses