# CVE-2026-61667: DIRAC: RCE in FileCatalog DatasetManager via SQL injection + eval

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.9
- **CVSS:** 9.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.21% (percentile 68, 2026-11-26)
- **CWE:** CWE-89, CWE-95
- **Aliases:** GHSA-m4m7-4cw8-62j6, PYSEC-2026-3463
- **Published:** 2026-07-13T18:37:31.000Z
- **Modified:** 2026-11-10T19:46:44.551Z

## 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

## 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

- PyPI `dirac`: affected \>= 6, \< 8.0.79; fixed 8.0.79, 9.0.22, 9.1.10 (osv)
- DIRACGrid DIRAC: \>= 6r0, \< 8.0.79; \>= 9.0.0a1, \< 9.0.22; \>= 9.1.0, \< 9.1.10 (cvelist)

## Mitigation

- Upgrade dirac to one of 8.0.79, 9.0.22, 9.1.10 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/DIRACGrid/DIRAC/security/advisories/GHSA-m4m7-4cw8-62j6>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-61667>
- vendor: <https://github.com/advisories/GHSA-m4m7-4cw8-62j6>
- patch: <https://github.com/DIRACGrid/DIRAC/commit/106f6efb40eb7318473fc09fc48083f1f864460a>
- patch: <https://github.com/DIRACGrid/DIRAC/commit/55ecbd729242ddbe06251b57895873cc468f5a1a>
- patch: <https://github.com/DIRACGrid/DIRAC/commit/5a5def88d65a18c77af9f2900ffb5866d6489d62>
- patch: <https://github.com/DIRACGrid/DIRAC/commit/66cfc8bf1dc13a6d38bf0c5654d5b551d76dce9b>
- patch: <https://github.com/DIRACGrid/DIRAC/commit/6f6fe65f27b6913916ef77a77a09918b94029c0a>
- patch: <https://github.com/DIRACGrid/DIRAC/commit/fabf08a4a403fdd92d3445771528fa54b3ee902f>
- other: <https://github.com/DIRACGrid/DIRAC/releases/tag/v8.0.79>
- other: <https://github.com/DIRACGrid/DIRAC/releases/tag/v9.0.22>
- other: <https://github.com/DIRACGrid/DIRAC/releases/tag/v9.1.10>
- other: <https://github.com/DIRACGrid/DIRAC>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/dirac/PYSEC-2026-3463.yaml>
- other: <https://pypi.org/project/DIRAC/8.0.79>
- other: <https://pypi.org/project/DIRAC/9.0.22>
- other: <https://pypi.org/project/DIRAC/9.1.10>
- other: <https://pypi.org/project/dirac>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-61667>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-m4m7-4cw8-62j6> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3463> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-61667> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-61667>
