AI Security Summit: Join Figma, Perplexity & Wiz. [Register]

CVE-2026-61668
Python vulnerability analysis and mitigation

Overview

CVE-2026-61668 is an improper certificate validation vulnerability in DIRAC (Distributed Infrastructure with Remote Agent Control), a grid computing framework. The pilot wrapper script downloads the second-stage pilot code (pilot.tar) over an HTTPS connection with SSL certificate validation explicitly disabled, and the reference checksum file used to verify the download is retrieved over the same unvalidated channel. Affected versions include DIRAC >= 6.20.1 and < 8.0.79, >= 8.1.0a1 and < 9.0.22, and >= 9.1.0 and < 9.1.10. It was published on July 13, 2026, with a CVSS v3.1 base score of 8.1 (High) (GitHub Advisory, DIRAC Advisory).

Technical details

The root cause is CWE-295 (Improper Certificate Validation): in PilotWrapper.py (lines 292–296), SSL validation is explicitly disabled to maintain compatibility with Python versions older than 2.7.9, meaning the HTTPS connection to download pilot.tar is made without verifying the server's certificate (GitHub Advisory). Because the checksum file used to verify the downloaded archive is also fetched over the same unvalidated channel, an attacker performing a man-in-the-middle (MITM) attack can substitute both the pilot code and its checksum, bypassing integrity checks entirely. Exploitation requires network-level access to intercept traffic between the pilot and the download server — for example, via DNS poisoning or BGP route manipulation at a grid site (DIRAC Advisory).

Impact

Successful exploitation allows an attacker to execute arbitrary code within the pilot context, which runs with access to the pilot proxy and associated grid credentials. This could lead to full compromise of confidentiality, integrity, and availability of the pilot environment, including unauthorized access to grid resources and potential credential theft. The impact is constrained to the pilot's security scope, but stolen proxy credentials could enable lateral movement across grid infrastructure (GitHub Advisory, DIRAC Advisory).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the advisory date. The CVE status is listed as "Reserved," and there is no indication of inclusion in the CISA KEV catalog or attribution to any threat actor. Exploitation requires a high-complexity network-level MITM attack (e.g., DNS or routing manipulation at a grid site), which significantly limits practical exploitability (GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Identify a target grid site running a vulnerable version of DIRAC (>= 6.20.1, < 8.0.79 / < 9.0.22 / < 9.1.10) that uses the pilot wrapper to download second-stage pilot code.
  2. Network Positioning: Gain a man-in-the-middle position on the grid site's network by manipulating DNS records or BGP routing to redirect the pilot's HTTPS download request to an attacker-controlled server.
  3. Serve Malicious Pilot Code: Host a modified pilot.tar archive containing arbitrary malicious code on the attacker-controlled server, along with a crafted checksum file matching the tampered archive.
  4. Intercept and Replace: When the DIRAC pilot wrapper initiates the download (with SSL validation disabled), serve the malicious pilot.tar and the corresponding fake checksum file — both will be accepted since neither the certificate nor the checksum source is validated.
  5. Achieve Code Execution: The pilot wrapper executes the tampered pilot script in the pilot context, granting the attacker arbitrary code execution with access to the pilot proxy and grid credentials (GitHub Advisory, DIRAC Advisory).

Indicators of compromise

  • Network: Unexpected DNS resolution changes for the DIRAC pilot download server; HTTPS connections to the pilot download endpoint resolving to unfamiliar IP addresses; TLS connections completing without valid certificate chains.
  • File System: Unexpected or modified pilot.tar contents in the pilot working directory; checksum files that do not match known-good values from a trusted source.
  • Process: Unusual child processes spawned by the DIRAC pilot script (e.g., reverse shells, data exfiltration tools, or unexpected network connections); unexpected use of pilot proxy credentials from unfamiliar hosts or grid sites.
  • Logs: Pilot execution logs showing successful download and execution of pilot code from an unexpected server IP or with certificate warnings suppressed (GitHub Advisory).

Mitigation and workarounds

Upgrade DIRAC to one of the patched versions: 8.0.79, 9.0.22, or 9.1.10, which enforce proper SSL certificate validation for the pilot download connection against both system certificates and $X509_CERT_DIR (GitHub Advisory, DIRAC Advisory). As a network-level workaround prior to patching, grid site operators should monitor and restrict DNS and routing changes that could redirect pilot download traffic, and consider using network-level controls (e.g., firewall rules, DNSSEC) to reduce MITM risk. No configuration-based workaround within DIRAC itself is documented for unpatched versions.

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-61667CRITICAL9.9
  • Python logoPython
  • dirac
NoYesSep 15, 2026
CVE-2026-45579CRITICAL9.9
  • Python logoPython
  • dirac
NoYesSep 15, 2026
CVE-2026-61668HIGH8.1
  • Python logoPython
  • dirac
NoYesSep 15, 2026
CVE-2026-55863MEDIUM5.3
  • Python logoPython
  • motioneye
NoYesSep 15, 2026
CVE-2026-53954MEDIUM4.3
  • Python logoPython
  • bugsink
NoYesSep 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management