Vulnerability PYSEC-2026-3464

High Risk
HIGH RISK
CVSS Score: 8.1
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
3 months ago
July 23, 2026 at 11:41 AM UTC
DIRAC: Pilot code downloaded over unverified HTTPS connection
7.2a29 - 8.0.78 and 8.1.0a1 - 9.0.21 and 9.1.0 - 9.1.9
7.2a29 - 8.0.78 and 8.1.0a1 - 9.0.21 and 9.1.0 - 9.1.9

Summary

DIRAC: Pilot code downloaded over unverified HTTPS connection

Details

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/

Impacted packages

Timeline

Published
3 months ago
July 23, 2026 at 11:41 AM UTC
Fixed (8.0.79)
5 months ago
June 01, 2026 at 08:42 AM UTC
Fixed (9.0.22)
5 months ago
June 04, 2026 at 02:21 PM UTC
Fixed (9.1.10)
5 months ago
June 04, 2026 at 02:50 PM UTC
Last Modified
3 months ago
July 23, 2026 at 03:00 PM UTC