CVE-2024-35058
Python vulnerability analysis and mitigation

Overview

An issue in the API wait function of NASA AIT-Core v2.5.2 was discovered that allows attackers to execute arbitrary code via supplying a crafted string. The vulnerability was disclosed on May 21, 2024 and assigned CVE-2024-35058 (NVD, GitHub Advisory).

Technical details

The vulnerability exists in the API wait function of NASA AIT-Core which evaluates Python string expressions using the eval function. The wait function accepts conditions in various forms including Python string expressions, lambda, or functions, but processes them insecurely by passing them directly to eval without proper sanitization. This implementation allows for arbitrary code execution when malicious Python expressions are provided as input (LinkedIn Article).

Impact

The vulnerability allows attackers to achieve local code execution on systems running the affected version of NASA AIT-Core. When successfully exploited, an attacker can execute arbitrary Python code with the same privileges as the application process (GitHub Advisory).

Exploitability

The vulnerability is relatively straightforward to exploit as it only requires the ability to pass a crafted string to the API wait function. The CVSS v4.0 base score is 9.2 (Critical), indicating high exploitability with network attack vector, low attack complexity, and no privileges or user interaction required (GitHub Advisory).

Mitigation and workarounds

Currently there are no patched versions available. As a general recommendation, organizations should avoid using the Python eval function for expression evaluation and instead utilize third-party libraries that provide similar functionality with proper input sanitization (LinkedIn Article).

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-61539CRITICAL10
  • Python logoPython
  • xinference
NoYesAug 21, 2026
CVE-2026-49360HIGH7.8
  • Python logoPython
  • recce
NoYesAug 21, 2026
CVE-2026-68508HIGH7.8
  • Python logoPython
  • hydra-core
NoYesAug 21, 2026
CVE-2026-54457HIGH7.7
  • Python logoPython
  • tensorzero
NoYesAug 21, 2026
CVE-2026-43980MEDIUM6.3
  • Python logoPython
  • malla
NoNoAug 21, 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