nday
CVE-2026-61667 GHSA-m4m7-4cw8-62j6

DIRAC: RCE in FileCatalog DatasetManager via SQL injection + eval

DIRACGrid / DIRAC

Disclosed . Patched: fixed in DIRAC 8.0.79, DIRAC 9.0.22 and 1 more. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

code injection
CWE-95, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-m4m7-4cw8-62j6
SQL injection
CWE-89, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-m4m7-4cw8-62j6
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
PyPI
GHSA-m4m7-4cw8-62j6: pip packages DIRAC
stage
PAT
disclosed
cvss
9.9 CRITICAL v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
09-15T17:26Z
PATpatch
DIRAC 8.0.79 +2 more
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 9.9, critical.

src cvelist · nday , bulk import · raw
{
  "id": 19128,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-61667",
  "occurred_at": "2026-09-15T17:26:16.456Z",
  "observed_at": "2026-11-12T15:03:42.190415Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 9.9,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2026-09-15T18:43:46.681433Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-09-15T17:26:16.456Z",
    "assigner_short_name": "GitHub_M"
  }
}
time unknownsource gave no time
+PATpatch released

The advisory gives fixed versions DIRAC 8.0.79, DIRAC 9.0.22, and DIRAC 9.1.10. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-m4m7-4cw8-62j6 · nday , bulk import · raw
{
  "id": 18992,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-m4m7-4cw8-62j6",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:03:36.174798Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-m4m7-4cw8-62j6",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.9,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Special Elements used in an SQL Command",
        "cwe_id": "CWE-89"
      },
      {
        "name": "Improper Neutralization of Directives in Dynamically Evaluated Code",
        "cwe_id": "CWE-95"
      }
    ],
    "ghsa_id": "GHSA-m4m7-4cw8-62j6",
    "packages": [
      {
        "name": "DIRAC",
        "ecosystem": "pip",
        "first_patched_version": "8.0.79",
        "vulnerable_version_range": ">= 6, < 8.0.79"
      },
      {
        "name": "DIRAC",
        "ecosystem": "pip",
        "first_patched_version": "9.0.22",
        "vulnerable_version_range": ">= 8.1.0a1, < 9.0.22"
      },
      {
        "name": "DIRAC",
        "ecosystem": "pip",
        "first_patched_version": "9.1.10",
        "vulnerable_version_range": ">= 9.1.0, < 9.1.10"
      }
    ],
    "severity": "critical",
    "references": [
      "https://github.com/DIRACGrid/DIRAC/security/advisories/GHSA-m4m7-4cw8-62j6",
      "https://pypi.org/project/DIRAC/8.0.79",
      "https://pypi.org/project/DIRAC/9.0.22",
      "https://pypi.org/project/DIRAC/9.1.10",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-61667",
      "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",
      "https://github.com/DIRACGrid/DIRAC/releases/tag/v9.0.22",
      "https://github.com/DIRACGrid/DIRAC/releases/tag/v9.1.10",
      "https://github.com/pypa/advisory-database/tree/main/vulns/dirac/PYSEC-2026-3463.yaml",
      "https://github.com/advisories/GHSA-m4m7-4cw8-62j6"
    ],
    "fix_commit_urls": [
      "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"
    ],
    "github_reviewed_at": "2026-07-13T18:37:31Z",
    "advisory_updated_at": "2026-11-10T19:39:09Z",
    "source_code_location": "https://github.com/DIRACGrid/DIRAC",
    "advisory_published_at": "2026-07-13T18:37:31Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.