Kritisch

DIRAC is vulnerable to RCE in RequestManager due to eval on untrusted input

  • Veröffentlicht: 13.07.2026
  • Aktualisiert: 11.10.2026 14:18

Summary

An remote code execution vulnerability exists in RequestManager due to the use of eval on untrusted input that allows any authenticated user to run code/commands on the DIRAC server as the system user running the DIRAC services.

Details

The export_getRequestCountersWeb function is callable by any authenticated user and just passes its parameters directly to the database instance: https://github.com/DIRACGrid/DIRAC/blob/f7e0a3ac153315030fb3520e8ca747f013758967/src/DIRAC/RequestManagementSystem/Service/ReqManagerHandler.py#L270

If the groupingAttribute string is unrecognised, Request. is prepended to it and the result is passed into an eval() call: https://github.com/DIRACGrid/DIRAC/blob/f7e0a3ac153315030fb3520e8ca747f013758967/src/DIRAC/RequestManagementSystem/DB/RequestDB.py#L766-L776

By passing in a dunder string that is applicable to the Request object, it's possible to work back up to functions in the os module and trigger them to be called in the server context.

There are other uses of eval in ReqManager/RequestDB which may be equally accessible.

Impact

This allows any authenticated user to run commands on the server, which allows a full compromise of the DIRAC system (they can read the local dirac.cfg, get database passwords and export all stored proxies and tokens). If local logging is used, they can also remove evidence of the exploit from the log (it leaves an exception printout in the RequestManager log when used).

Patched versions:

https://pypi.org/project/DIRAC/8.0.79/ https://pypi.org/project/DIRAC/9.0.22/ https://pypi.org/project/DIRAC/9.1.10/

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Python (PyPI) dirac >= 6, < 8.0.79, >= 8.1.0a1, < 9.0.22, >= 9.1.0, < 9.1.10 8.0.79, 9.0.22, 9.1.10

Verweise

CVSS-Wert 9.9/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Schwäche (CWE)
CWE-95
Plattform
Python (PyPI)
Paket
dirac
Veröffentlicht
13.07.2026
Aktualisiert
11.10.2026 14:18

Quellen und Lizenzen

OSV / GitHub Advisory Database - PYSEC-2026-3462 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-9jpv-c7p4-997x - CC BY 4.0

Schwachstellenhistorie: dirac

Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Einträge insgesamt
6
Erste → letzte
02.2024 07.2026
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 3
  • Hoch 3

Veröffentlichungen pro Jahr

  1. 2024: 2
  2. 2025: 0
  3. 2026: 4
  1. Hoch · 8.5 ghsa-7xw9-549r-8jrc >= 6, < 8.0.79, >= 8.1.0a1, < 9.0.22, >= 9.1.0, < 9.1.10 8.0.79, 9.0.22, 9.1.10
  2. Hoch · 8.1 CVE-2026-61668 >= 6.20.1, < 8.0.79, >= 8.1.0a1, < 9.0.22, >= 9.1.0, < 9.1.10 8.0.79, 9.0.22, 9.1.10
  3. Kritisch · 9.9 CVE-2026-61667 >= 6, < 8.0.79, >= 8.1.0a1, < 9.0.22, >= 9.1.0, < 9.1.10 8.0.79, 9.0.22, 9.1.10
  4. DIRAC is vulnerable to RCE in RequestManager due to eval on untrusted input dieser Eintrag
    Kritisch · 9.9 CVE-2026-45579 >= 6, < 8.0.79, >= 8.1.0a1, < 9.0.22, >= 9.1.0, < 9.1.10 8.0.79, 9.0.22, 9.1.10
  5. Hoch · 8.1 CVE-2024-29905 < 8.0.41 8.0.41
  6. Kritisch · 9.1 CVE-2024-24825 >= 8.0.0, < 8.0.37, < 8.0.37 8.0.37

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.