CVE-2026-61668: DIRAC: Pilot code downloaded over unverified HTTPS connection
Summary The second stage pilot (pilot.tar) is downloaded by the initial wrapper script without any verification of the webservers' SSL certificate and the contained script is subsequently executed. The checksum is tested, but the reference checksum file is downloaded over the same unvalidated channel.
Published Jul 13, 2026 · Updated Nov 10, 2026
Affected packages
DIRAC
- Ecosystem
- PyPI
- Affected
- >= 6.20.1, < 8.0.79
- Fixed in
- 8.0.79
- Check
pip show DIRAC
DIRAC
- Ecosystem
- PyPI
- Affected
- >= 8.1.0a1, < 9.0.22
- Fixed in
- 9.0.22
- Check
pip show DIRAC
DIRAC
- Ecosystem
- PyPI
- Affected
- >= 9.1.0, < 9.1.10
- Fixed in
- 9.1.10
- Check
pip show DIRAC
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
The second stage pilot (pilot.tar) is downloaded by the initial wrapper script without any verification of the webservers' SSL certificate and the contained script is subsequently executed. The checksum is tested, but the reference checksum file is downloaded over the same unvalidated channel.
Details
The pilot wrapper downloads and executes the main second stage pilot script, but the SSL validation on this connection is explicitly disabled (to match old python < 2.7.9 behaviour): https://github.com/DIRACGrid/DIRAC/blob/integration/src/DIRAC/WorkloadManagementSystem/Utilities/PilotWrapper.py#L292-L296
This means that the second stage pilot code is not verified in any way and could potentially be altered by a man-in-the-middle attack to execute arbitrary code in the pilot context (i.e. with access to the pilot proxy/credentials).
The HTTPS connection should be validated against both the system certificates and $X509_CERT_DIR and fail if neither validate correctly.
Impact
This would require a man-in-the-middle style attack against a grid site's network (i.e. changing the DNS or routing to redirect the pilot's connection); this is likely to be difficult which probably limits the potential impact.
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/
Credited to sfayer, ranjiGT.
References
- https://github.com/DIRACGrid/DIRAC/security/advisories/GHSA-vg99-gr89-qhw9
- 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-61668
- https://github.com/DIRACGrid/DIRAC/commit/68029dfb5ddd8b1e4106851f8e37370aa80ac7ae
- https://github.com/DIRACGrid/DIRAC/commit/92e2e26c63b964b8499bee5e9c2e2821a36eac56
- https://github.com/DIRACGrid/DIRAC/commit/b332c437d064f66ee46f5b45a90a9f7c4bace38d
- 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-3464.yaml
- https://github.com/advisories/GHSA-vg99-gr89-qhw9
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-45579
DIRAC is vulnerable to RCE in RequestManager due to eval on untrusted input
critical9.9Jul 13, 2026CVE-2026-61667
DIRAC is vulnerable to RCE in FileCatalog DatasetManager via SQL injection + eval
critical9.9Jul 13, 2026GHSA-7xw9-549r-8jrc
DIRAC: SQL injection and lack of access control in PilotManager service
high8.5Jul 13, 2026CVE-2024-29905
DIRAC: Unauthorized users can read proxy contents during generation
high8.1Apr 9, 2024CVE-2024-24825
DIRAC's TokenManager does not check permissions on cached tokens
critical9.1Feb 8, 2024
