πŸ” Search

Found 500 results for "python"

Showing 241 - 260 of 500 results (limited to 500 results)

πŸ”’ CVE HIGH CVSS: 8.0 β€’ December 24, 2024

CVE-2024-12745

A SQL injection in the Amazon Redshift python Connector v2.1.4 allows a user to gain escalated privileges via the get_schemas, get_tables, or get_columns Metadata APIs. Users are recommended to upgrade to the driver version 2.1.5 or revert to driver version 2.1.3.

πŸ”’ CVE HIGH CVSS: 7.9 β€’ January 23, 2025

CVE-2025-22153

Restrictedpython is a tool that helps to define a subset of the python language which allows to provide a program input into a trusted environment. Via a type confusion bug in versions of the Cpython interpreter starting in 3.11 and prior to 3.13.2 when using `try/except*`, Restrictedpython starting in version 6.0 and prior to version 8.0 could be bypassed. The issue is patched in version 8.0 of Restrictedpython by removing support for `try/except*` clauses. No known workarounds are available.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ June 12, 2026

CVE-2026-42851

Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, a program able to write bytes to a kitty terminal β€” a remote SSH peer, a downloaded file viewed with `cat`, a log line, an email body rendered in `less`, an issue body in a TUI, etc. β€” can cause kitty to execute attacker-supplied python inside the running kitty process, with the user's full privileges. There is no approval prompt, no remote-control permission requirement, no shell-integration interaction, no clipboard touch, and no editor interaction. Version 0.47.0 fixes the issue.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ May 27, 2026

CVE-2026-45136

claude-code-cache-fix is a cache optimization proxy for Claude Code. From 3.5.0 to before 3.5.2, tools/quota-statusline.sh (introduced in v3.5.0) interpolates Claude Code's hook stdin payload directly into a python triple-quoted string literal. A ''' byte sequence in any user-controlled field of the payload closes the literal early and lets following bytes execute as python in the user's Claude Code process. This vulnerability is fixed in 3.5.2.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ May 24, 2026

CVE-2026-4372

A critical remote code execution vulnerability exists in all versions of the HuggingFace transformers library prior to version 5.3.0. The vulnerability allows an attacker to craft a malicious `config.json` file containing the `_attn_implementation_internal` field set to an attacker-controlled HuggingFace Hub repository ID. When a victim loads this model using the standard `AutoModelForCausalLM.from_pretrained()` API, the library downloads and executes arbitrary python code from the attacker's repository with the victim's full OS privileges. This issue arises due to unfiltered deserialization of configuration attributes, insufficient sanitization of internal fields, and unsandboxed execution of downloaded kernels. The vulnerability bypasses the `trust_remote_code` security mechanism, is invisible to the victim, and exploits the standard documented usage pattern, making it particularly severe. Users are advised to upgrade to version 5.3.0 or later to mitigate this issue.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ May 18, 2026

CVE-2026-4137

In mlflow/mlflow versions prior to 3.11.0, the `get_or_create_nfs_tmp_dir()` function in `mlflow/utils/file_utils.py` creates temporary directories with world-writable permissions (0o777), and the `_create_model_downloading_tmp_dir()` function in `mlflow/pyfunc/__init__.py` creates directories with group-writable permissions (0o770). These insecure permissions allow local attackers to tamper with model artifacts, such as cloudpickle-serialized python objects, and achieve arbitrary code execution when the tampered artifacts are deserialized via `cloudpickle.load()`. This vulnerability is particularly critical in environments with shared NFS mounts, such as Databricks, where NFS is enabled by default. The issue is a continuation of the vulnerability class addressed in CVE-2025-10279, which was only partially fixed.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ May 12, 2026

CVE-2026-31221

PyTorch-Lightning versions 2.6.0 and earlier contain an insecure deserialization vulnerability (CWE-502) in the checkpoint loading mechanism. The LightningModule.load_from_checkpoint() method, which is commonly used to load saved model states, internally calls torch.load() without setting the security-restrictive weights_only=True parameter. This default behavior allows the deserialization of arbitrary python objects via the Pickle module. A remote attacker can exploit this by providing a maliciously crafted checkpoint file, leading to arbitrary code execution on the victim's system when the file is loaded.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ May 09, 2026

CVE-2026-42311

Pillow is a python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution. This issue has been patched in version 12.2.0.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ May 09, 2026

CVE-2026-42301

pyp2spec generates working Fedora RPM spec file for python projects. Prior to version 0.14.1, pyp2spec was writing PyPI package metadata (e.g. the summary field) into the generated spec file without escaping RPM macro directives. When a packager then runs rpmbuild, those directives get evaluated, so a malicious package can execute arbitrary commands on the build machine. This issue has been patched in version 0.14.1.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ May 07, 2026

CVE-2026-44244

Gitpython is a python library used to interact with Git repositories. Prior to version 3.1.49, GitConfigParser.set_value() passes values to python's configparser without validating for newlines. Gitpython's own _write() converts embedded newlines into indented continuation lines (e.g. \n becomes \n\t), but Git still accepts an indented [core] stanza as a section header β€” so the injected core.hooksPath becomes effective configuration. Any Git operation that invokes hooks (commit, merge, checkout) will then execute scripts from the attacker-controlled path. This issue has been patched in version 3.1.49.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ May 01, 2026

CVE-2026-7584

The LabOne Q serialization framework uses a class-loading mechanism (import_cls) to dynamically import and instantiate python classes during deserialization. Prior to the fix, this mechanism accepted arbitrary fully-qualified class names from the serialized data without any validation of the target class or restriction on which modules could be imported. An attacker can craft a serialized experiment file that causes the deserialization engine to import and instantiate arbitrary python classes with attacker-controlled constructor arguments, resulting in arbitrary code execution in the context of the user running the python process. Exploitation requires the victim to load a malicious file using LabOne Q's deserialization functions, for example a compromised experiment file shared for collaboration or support purposes.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ April 23, 2026

CVE-2026-41206

PySpector is a static analysis security testing (SAST) Framework engineered for modern python development workflows. The plugin security validator in PySpector uses AST-based static analysis to prevent dangerous code from being loaded as plugins. Prior to version 0.1.8, the blocklist implemented in `PluginSecurity.validate_plugin_code` is incomplete and can be bypassed using several python constructs that are not checked. An attacker who can supply a plugin file can achieve arbitrary code execution within the PySpector process when that plugin is installed and executed. Version 0.1.8 fixes the issue.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ April 09, 2026

CVE-2026-33793

An Execution with Unnecessary Privileges vulnerabilityΒ in the User Interface (UI) of Juniper Networks Junos OS and Junos OS Evolved allows a local, low-privileged attacker to gain root privileges, thus compromising the system. When aΒ configuration that allows unsigned python op scripts is present on the device, a non-root user is able to execute malicious op scripts as a root-equivalent user, leading to privilege escalation.Β  This issue affects Junos OS:Β  * All versions before 22.4R3-S7,Β  * from 23.2 before 23.2R2-S4,Β  * from 23.4 beforeΒ 23.4R2-S6, * from 24.2 before 24.2R1-S2, 24.2R2,Β  * from 24.4 before 24.4R1-S2, 24.4R2;Β  Junos OS Evolved:Β  * All versions before 22.4R3-S7-EVO,Β  * from 23.2 before 23.2R2-S4-EVO,Β  * from 23.4 beforeΒ 23.4R2-S6-EVO, * from 24.2 before 24.2R2-EVO,Β  * from 24.4 before 24.4R1-S1-EVO, 24.4R2-EVO.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ April 06, 2026

CVE-2026-35043

BentoML is a python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.38, the cloud deployment path in src/bentoml/_internal/cloud/deployment.py was not included in the fix for CVE-2026-33744. Line 1648 interpolates system_packages directly into a shell command using an f-string without any quoting. The generated script is uploaded to BentoCloud as setup.sh and executed on the cloud build infrastructure during deployment, making this a remote code execution on the CI/CD tier. This vulnerability is fixed in 1.4.38.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ April 03, 2026

CVE-2026-34937

PraisonAI is a multi-agent teams system. Prior to version 1.5.90, run_python() in praisonai constructs a shell command string by interpolating user-controlled code into python3 -c "" and passing it to subprocess.run(..., shell=True). The escaping logic only handles \ and ", leaving $() and backtick substitutions unescaped, allowing arbitrary OS command execution before python is invoked. This issue has been patched in version 1.5.90.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ March 27, 2026

CVE-2026-33744

BentoML is a python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.37, the `docker.system_packages` field in `bentofile.yaml` accepts arbitrary strings that are interpolated directly into Dockerfile `RUN` commands without sanitization. Since `system_packages` is semantically a list of OS package names (data), users do not expect values to be interpreted as shell commands. A malicious `bentofile.yaml` achieves arbitrary command execution during `bentoml containerize` / `docker build`. Version 1.4.37 fixes the issue.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ March 20, 2026

CVE-2026-33139

PySpector is a static analysis security testing (SAST) Framework engineered for modern python development workflows. PySpector versions 0.1.6 and prior are affected by a security validation bypass in the plugin system. The validate_plugin_code() function in plugin_system.py, performs static AST analysis to block dangerous API calls before a plugin is trusted and executed. However, the internal resolve_name() helper only handles ast.Name and ast.Attribute node types, returning None for all others. When a plugin uses indirect function calls via getattr() (such as getattr(os, 'system')) the outer call's func node is of type ast.Call, causing resolve_name() to return None, and the security check to be silently skipped. The plugin incorrectly passes the trust workflow, and executes arbitrary system commands on the user's machine when loaded. This issue has been patched in version 0.1.7.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ March 20, 2026

CVE-2026-32711

pydicom is a pure python package for working with DICOM files. Versions 2.0.0-rc.1 through 3.0.1 are vulnerable to Path Traversal through a maliciously crafted DICOMDIR ReferencedFileID when it is set to a path outside the File-set root. pydicom resolves the path only to confirm that it exists, but does not verify that the resolved path remains under the File-set root. Subsequent public FileSet operations such as copy(), write(), and remove()+write(use_existing=True) use that unchecked path in file I/O operations. This allows arbitrary file read/copy and, in some flows, move/delete outside the File-set root. This issue has been fixed in version 3.0.2.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ March 03, 2026

CVE-2026-27905

BentoML is a python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.36, the safe_extract_tarfile() function validates that each tar member's path is within the destination directory, but for symlink members it only validates the symlink's own path, not the symlink's target. An attacker can create a malicious bento/model tar file containing a symlink pointing outside the extraction directory, followed by a regular file that writes through the symlink, achieving arbitrary file write on the host filesystem. This vulnerability is fixed in 1.4.36.

πŸ”’ CVE HIGH CVSS: 7.8 β€’ February 26, 2026

CVE-2026-28211

The NVDA Dev & Test Toolbox is an NVDA add-on for gathering tools to help NVDA development and testing. A vulnerability exists in versions 2.0 through 8.0 in the Log Reader feature of this add-on. A maliciously crafted log file can lead to arbitrary code execution when a user reads it with log reader commands. The log reading command process speech log entries in an unsafe manner. python expressions embedded in the log may be evaluated when when speech entries are read with log reading commands. An attacker can exploit this by convincing a user to open a malicious crafted log file and to analyze it using the log reading commands. When the log is read, attacker-controlled code may execute with the privileges of the current user. This issue does not require elevated privileges and relies solely on user interaction (opening the log file). Version 9.0 contains a fix for the issue. As a workaround, avoid using log reading commands, or at least, commands to move to next/previous log message (any message or commands for each type of message). For more security, one may disable their gestures in the input gesture dialog.