{"answers":{"affected":"7 open source packages ship an affected version, including dirac and DIRAC.","exploited":"There is no known exploitation of CVE-2026-61667 in the wild and no public exploit code.","fix":"Upgrade dirac to a fixed version for your release line: 8.0.79, 9.0.22 or 9.1.10.","what":"CVE-2026-61667 is a critical SQL injection vulnerability in DIRACGrid DIRAC, published on 15 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-61667 and fix it if it is affected.\n\nWhat it is: CVE-2026-61667 is a critical SQL injection vulnerability in DIRACGrid DIRAC, published on 15 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-61667 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- dirac (PyPI): affected from 6; fixed in 8.0.79, 9.0.22, 9.1.10\n- dirac (PyPI): affected from 6; fixed in 8.0.79\n- dirac (PyPI): affected from 8.1.0a1; fixed in 9.0.22\n- dirac (PyPI): affected from 9.1.0; fixed in 9.1.10\n- DIRAC (PyPI): affected from 6; fixed in 8.0.79\n- DIRAC (PyPI): affected from 8.1.0a1; fixed in 9.0.22\n- DIRAC (PyPI): affected from 9.1.0; fixed in 9.1.10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-61667/ (Markdown: https://insights.sbomify.com/CVE-2026-61667/index.md)","id":"CVE-2026-61667","markdown":"https://insights.sbomify.com/CVE-2026-61667/index.md","name":"CVE-2026-61667","record":{"aliases":["GHSA-m4m7-4cw8-62j6","PYSEC-2026-3463"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"DIRAC distributed computing","requires_auth":"low_privilege","summary":"Authenticated attackers can exploit SQL injection to trigger code execution via eval, compromising the DIRAC system and exposing sensitive credentials.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.9,"severity":"critical","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"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"},{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"DIRAC: RCE in FileCatalog DatasetManager via SQL injection + eval","id":"CVE-2026-61667","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":7,"n_references":10,"next":{"headline":"DIRAC: Pilot code downloaded over unverified HTTPS connection","id":"CVE-2026-61668"},"packages":[{"ecosystem":"PyPI","fixed":["8.0.79"],"introduced":["6"],"last_affected":[],"package":"DIRAC","purl":null,"source":"GHSA-m4m7-4cw8-62j6"},{"ecosystem":"PyPI","fixed":["9.0.22"],"introduced":["8.1.0a1"],"last_affected":[],"package":"DIRAC","purl":null,"source":"GHSA-m4m7-4cw8-62j6"},{"ecosystem":"PyPI","fixed":["9.1.10"],"introduced":["9.1.0"],"last_affected":[],"package":"DIRAC","purl":null,"source":"GHSA-m4m7-4cw8-62j6"},{"ecosystem":"PyPI","fixed":["8.0.79","9.0.22","9.1.10"],"introduced":["6","8.1.0a1","9.1.0"],"last_affected":[],"package":"dirac","purl":"pkg:pypi/dirac","source":"PYSEC-2026-3463"},{"ecosystem":"PyPI","fixed":["8.0.79"],"introduced":["6"],"last_affected":[],"package":"dirac","purl":"pkg:pypi/dirac","source":"GHSA-m4m7-4cw8-62j6"},{"ecosystem":"PyPI","fixed":["9.0.22"],"introduced":["8.1.0a1"],"last_affected":[],"package":"dirac","purl":"pkg:pypi/dirac","source":"GHSA-m4m7-4cw8-62j6"},{"ecosystem":"PyPI","fixed":["9.1.10"],"introduced":["9.1.0"],"last_affected":[],"package":"dirac","purl":"pkg:pypi/dirac","source":"GHSA-m4m7-4cw8-62j6"}],"prev":{"headline":"websocket-driver: Denial of service via malformed Host header","id":"CVE-2026-61666"},"products":["DIRAC"],"published":"2026-09-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-15","vendors":["DIRACGrid"]},"summary":"Authenticated attackers can exploit SQL injection to trigger code execution via eval, compromising the DIRAC system and exposing sensitive credentials.","url":"https://insights.sbomify.com/CVE-2026-61667/"}