appsec.fyi › Python

Python Resources

Page 2 of 7: resources 51–100 of 312, added Oct 2026 to Nov 2026.

The newest Python resources are on the Python page. For a reading order instead of a date order, see the Python learning path.

Date AddedLinkExcerpt
2026-11-14 2026ZDI-26-940: fairseq deserialization of untrusted data RCE news 1 min read AI Deser RCEMeta fairseq dump_km_label deserialization of untrusted data RCE allows remote attackers to execute arbitrary code on affected installations. The flaw exists within the ApplyKmeans class due to a lack of proper validation of user-supplied data, enabling attackers to deserialize untrusted data and execute code in the context of the current process. User interaction is required, as targets must visit a malicious page or open a malicious file. The fairseq repository is no longer maintained. → zerodayinitiative.com
2026-11-14 2026Schemathesis 4.33.0: GraphQL coverage phase and unary gRPC fuzzing intermediate 4 min read API Sec Fuzzing GraphQLLibrary updates Schemathesis to version 4.33.0, introducing a coverage phase for GraphQL schemas and fuzzing for unary gRPC methods. Enhancements include improved XML and cookie parameter handling, faster pytest collection, and numerous bug fixes across data generation, request serialization, GraphQL processing, schema loading, checks, authentication, timeouts, test execution, and reporting. Notably, it addresses issues with response schema conformance, OpenAPI 3.2 specifications, and handling of $ref and XML namespaces.
2026-11-13 2026PyJWT HMAC forgery with known public key (CVE-2026-102268) security update news 2 min read JWTUpdate for python-PyJWT addresses CVE-2026-102268, an HMAC forgery vulnerability allowing attackers with the public key to forge tokens, and CVE-2026-102270, a denial-of-service flaw causing CPU consumption. This security update is available for various SUSE Linux Enterprise products.
2026-11-13 2026DataGerry 3.3.0 SSTI via DocAPI template rendering (CVE-2026-57853) news RCE SSTIAdvisory for CVE-2026-57853 details a Server-Side Template Injection (SSTI) vulnerability in DataGerry versions prior to 3.3.0. This flaw allows authenticated attackers with base.docapi.template.add permissions to inject arbitrary Jinja2 payloads through POST requests to `/rest/docapi/template`. The vulnerability is triggered when templates are rendered via GET requests to `/rest/docapi/template/<id>/render/<object_id>`. Attackers can leverage the `cycler.__init__.__globals__.os` gadget chain to achieve remote code execution by executing operating system commands as the DataGerry web process user, potentially root in default Docker setups. → vulncheck.com
2026-11-12 2026Pickle-Me-Not: CTF pickle deserialization writeup intermediate 2 min read DeserQiangwang NEST 2026 Misc challenge "Pickle-Me-Not" involves a malicious pickle that should not be executed. Instead, attackers must statically analyze the pickle's opcodes to understand a strided tensor view and reconstruct a SHA-256 keystream using documented KDF parameters and observable inputs from diagnostic logs and safetensors. The flag is XORed with this keystream, and the solution involves carefully extracting interleaved ciphertext bytes based on the tensor's offset, shape, and stride.
2026-11-12 2026JWT verification bugs: pin the algorithm, then prove the fix intermediate 9 min read AuthN JWTGuide for developers on fixing common JWT verification bugs, including allowing the token to dictate the algorithm or skipping signature checks. It details how to configure PyJWT, jsonwebtoken, and jose to enforce security rules, emphasizes the importance of a test suite to prove verifier effectiveness, and covers essential checks like signature validity, algorithm pinning, claim validation (exp, iss, aud), and secure key management to prevent vulnerabilities like those described in PortSwigger's JWT research.
2026-11-12 2026Python Just Got a New Kind of String. It Could End a Whole Class of Security Bugs. advancedPython has introduced a new type of string, "Stringify," designed to prevent a common class of security vulnerabilities. This innovation aims to mitigate risks associated with improper handling of strings, particularly in web development and data processing. The new string type offers enhanced security features, making it more difficult for attackers to exploit vulnerabilities that arise from string manipulation errors. This development represents a significant step towards more secure Python applications. → levelup.gitconnected.com
2026-11-11 2026CVE-2026-123198: unauthenticated Jinja SSTI in LMFDB render_knowl intermediate 3 min read RCE SSTICVE-2026-123198 in LMFDB allows unauthenticated Jinja server-side template injection via the `render_knowl` function. Attackers can exploit this vulnerability by submitting crafted Jinja expressions in request parameters to `/knowledge/render/<ID>`, potentially leading to operating system command execution as the web application account. This critical vulnerability (CVSS 4.0: 9.3) affects commits before `01829bd09b692c720aad30c952758a20630573d4`. → insightcve.com
2026-11-11 2026Malicious PyPI dynamic-mcp, reqnest and friends: reverse shells, OAuth relays, Telegram stealers intermediate 14 min read Supply ChainMalicious PyPI packages like `dynamic-mcp`, `labelearthengine-api`, `reqnest`, and others have been discovered to include reverse shells, OAuth token relaying, and Telegram data stealing capabilities. These packages, some still live on PyPI as of November 2026, perform actions such as establishing default reverse connections via Cloudflare tunnels, exfiltrating Google OAuth bearer tokens, executing detached command shells, and stealing local Telegram files. Similar malicious activities were also identified in npm and RubyGems repositories, targeting developers and system administrators who install these compromised libraries. → corgea.com
2026-11-11 2026Wake 5: a Python framework for Solidity testing, fuzzing and static analysis intermediate 2 min read FuzzingWake 5, an open-source Python framework for Solidity testing, fuzzing, and static analysis, enables in-process EVM execution and exposes static analysis to language-model agents. It achieves high transaction throughput, comparable to Foundry, and demonstrates that the integer generator prior, rather than throughput, bounds smart-contract fuzzing performance on shallow assertions. Language-model agents utilizing Wake can effectively reach all assertions with constraint solvers, and static analysis tools integrated with models improve precision while increasing language-model cost. → arxiv.org
2026-11-11 2026LetMeOut: HICyberCon CTF 2026 Jinja2 sandbox escape writeup intermediate 2 min read SSTILetMeOut: HICyberCon CTF 2026 Jinja2 sandbox escape writeup details two vulnerabilities enabling remote code execution. The first exploits NFKC normalization to smuggle attribute names past a filter in `jinja2.sandbox.SandboxedEnvironment.getitem`, allowing access to `__class__`. The second leverages `getitem` returning an unsandboxed Python wrapper function before safety checks, which, when used with the `rich` filter name, exposes `pdb` and its ability to execute arbitrary commands by reading from the raw socket.
2026-11-10 2026PyPI makes release attestations easier to find with new security tab news 2 min read Supply ChainPyPI's new security tab enhances application security by making release attestations more discoverable for developers. This feature displays whether individual release files have digital attestations, such as PyPI Publish attestations identifying Trusted Publishers or SLSA Build Provenance attestations linking to source commits and build platforms. The tab also surfaces provenance warnings when files lack attestations or originate from different repositories, helping users assess package integrity beyond just cryptographic verification. → helpnetsecurity.com
2026-11-10 2026Beyond single-command recon: async multi-stage pipelines intermediate 2 min read ReconPipeline for automated multi-stage reconnaissance, transforming target domains into structured, triage-ready telemetry. This approach chains an async crawler like `katana` to discover endpoints and JS bundles, followed by parameter discovery using `arjun`. A context and reflection engine powered by `dalfox` or `XSStrike-go` then probes reflections and parses DOM sinks. The output is a machine-readable `recon_report.json` adhering to a Pydantic schema, enabling methodology over luck in bug finding.
2026-11-10 2026SUBX: subdomain recon and asset management framework intermediate OSINT ReconSUBX is a framework designed for subdomain reconnaissance and asset management. It aims to streamline the process of identifying and organizing subdomains associated with an organization's assets. This tool likely assists security professionals and researchers in mapping out an organization's digital footprint, which is crucial for vulnerability assessment and overall security posture. → pypi.org
2026-11-10 2026ZDI-26-850: Microsoft Qlib MLflowRecorder deserialization RCE news 9 min read AI Deser RCEReference details ZDI-26-850, a high-severity deserialization vulnerability in Microsoft Qlib's MLflowRecorder. This flaw allows remote code execution via user interaction, enabling attackers to leverage unsafe Python object reconstruction with tools like `pickle` to compromise data science workstations and research servers running quantitative analysis or ML experimentation. The entry provides Sigma rules for detecting Python processes spawning shells and establishing unexpected outbound connections, crucial hunt logic for defenders.
2026-11-10 2026Public PoC for Hugging Face Datasets pickle deserialization RCE (CVE-2026-57845) news 3 min read AI Deser RCECVE-2026-57845 in the Hugging Face datasets library allows remote code execution via pickle deserialization through a deprecated pandas builder. A public proof-of-concept demonstrates how crafted pickle files can execute arbitrary Python code when loaded, inheriting the privileges of the machine-learning pipeline, including cloud credentials. The vulnerability affects all releases up to and including 5.1.0, with no fixed release currently available, and mitigation relies solely on avoiding the pandas builder with untrusted data.
2026-11-10 2026From SSTI to a Django secret key (XBEN-056) intermediate 4 min read Secrets SSTITemplate injection in a Django application's three-step registration flow allowed an attacker to exploit a name field that was compiled as server-side template code. By using double-brace expressions, an attacker could access the application's signing key material via the message store's signer, potentially undermining the authenticity of cookies, reset links, and other signed values. The vulnerability, tracked as XBEN-056, highlights the critical need to treat user input strictly as data and never as executable template source.
2026-11-10 2026ZDI-26-897 (Pwn2Own): Home Assistant Green aiohttp_client SSRF intermediate SSRFCVE-2026-91131 in Home Assistant Green's aiohttp_client component allows unauthenticated, network-adjacent attackers to trigger arbitrary outbound requests. This server-side request forgery (SSRF) vulnerability, highlighted in Pwn2Own and assigned a CVSS 5.4 rating, enables local network actors to compromise the system without needing authentication.
2026-11-09 2026CVE-2026-114615: Authlib JWT algorithm confusion fix bypass intermediate 8 min read AuthN JWTCVE-2026-114615 addresses an incomplete fix in Authlib versions 1.3.1 through 1.8.0 that allowed JWT algorithm confusion. Attackers could forge tokens by using a public key as an HMAC secret due to a flawed check that only examined the start of the key. This vulnerability, affecting approximately 103 million downloads, is now resolved in Authlib 1.9.0 with a more robust check that inspects the entire key for unsafe markers.
2026-11-09 2026gcp-log-poc PyPI supply chain attack: env exfiltration and how to check news 3 min read Secrets Supply ChainAnalysis of the `gcp-log-poc` PyPI supply chain attack, affecting versions 0.0.1, 0.0.2, and 0.0.3, details how these packages exfiltrated environment variables and sensitive Google Cloud credentials to a logging endpoint upon installation or import. The attack, identified and flagged by Vigilance shortly after its November 7, 2026 deployment, also captured host, user, OS, and Python version data, with later versions adding public IP address retrieval. The compromise was also recorded as OSV MAL-2026-18753.
2026-11-09 2026ctfr-reloaded: certificate transparency subdomain discovery beginner 3 min read OSINT ReconTool for free subdomain enumeration, `ctfr-reloaded` leverages Certificate Transparency logs without requiring API keys or registration. It performs real-time OSINT, including DNS resolution, HTTP checks, takeover detection, TLS information, CDN identification, and scoring for prioritization. The tool offers a CLI with colorized output and progress bars, an interactive dashboard, and export options to HTML, PDF, JSON, and CSV. It also includes a Burp Suite integration mode for seamless proxy configuration and URL import. → pypi.org
2026-11-09 2026Insecure deserialization in Java, .NET, PHP, Python and Node.js intermediate 3 min read Deser RCEInsecure deserialization in Java, .NET, PHP, Python, and Node.js presents a common route for remote code execution by allowing attackers to craft serialized objects that trigger malicious code upon deserialization. This technique, often identified in cookies, hidden fields, or message queues, relies on "gadget chains" – existing classes within an application that can be manipulated to execute arbitrary commands. Tools like ysoserial for Java and .NET, phpggc for PHP, and built-in libraries like Python's pickle and Node.js's node-serialize aid in constructing these exploit payloads, with common bypasses including URLDNS for Java and careful handling of ViewState validation keys for .NET.
2026-11-09 2026grizzly for modular cross-platform browser fuzzing beginner 4 min read Fuzzinggrizzly is Mozilla Security's modular, plug-in-driven browser fuzzing framework designed for stability and memory bug discovery. Its extensibility through separate Adapter and Target plug-ins allows support for various fuzzer engines and browsers, including Windows, Linux, and MacOS. Generated test cases are standalone, enabling reproducible bug handoff, triage, and long-term regression tracking. The framework also includes tools for minimizing crashing test cases and replaying them across different builds, with direct integration for Bugzilla to leverage historical crash reports as a regression-testing corpus. → offsecblog.com
2026-11-09 2026LMDeploy CVE-2026-119706: unauthenticated RCE via pickle deserialization news 7 min read AI Deser RCELMDeploy CVE-2026-119706 is an unauthenticated remote code execution vulnerability where specially crafted pickle payloads sent to the `/update_weights` endpoint allow arbitrary OS command execution. This critical vulnerability, affecting LMDeploy versions 0.9.0 through 0.18.0, stems from unsafe pickle deserialization in Python, bypassing validation by exploiting `__reduce__` callbacks. The default configuration's open binding and lack of API key authentication amplify the risk, making internet-exposed instances trivially exploitable. A patch has been proposed, introducing safer serialization methods and an opt-in for pickle support, but it remains unmerged as of November 3, 2026. → zeropath.com
2026-11-08 2026IBM: arbitrary code execution in Qiskit SDK QPY deserialization intermediate 2 min read AI Deser RCEBulletin on CVE-2026-116499, an arbitrary code execution vulnerability in IBM's Qiskit SDK. Versions prior to 13.0 of the QPY deserialization process are susceptible to specially crafted payloads that can execute embedded Python code without privilege escalation, impacting the `qiskit.qpy.load()` function. The issue is patched in Qiskit v2.6.2. → ibm.com
2026-11-07 2026DEF CON 34: Unveiling Python Class Pollution in the Wild intermediate RCE TalksAt DEF CON 34, researchers demonstrated "Python Class Pollution," a vulnerability where attackers can manipulate Python object attributes in deployed applications. This technique allows malicious code to be injected and executed by altering class definitions or instances, potentially leading to unauthorized access or control. The vulnerability highlights the risks associated with improperly secured code execution environments and the dynamic nature of Python. The presentation emphasized the need for robust input validation and secure coding practices to mitigate such attacks. → media.defcon.org
2026-11-07 2026LMFDB unauthenticated Jinja SSTI (CVE-2026-123198) news RCE SSTIAdvisory for CVE-2026-123198 detailing an unauthenticated Server-Side Template Injection in LMFDB. The vulnerability, found in the `knowledge_render_id` function before commit 01829bd, allows attackers to inject Jinja expressions through request parameters or 'content' data to the `/knowledge/render/<ID>` endpoint. This enables the execution of arbitrary operating system commands. → vulncheck.com
2026-11-07 2026reconflow: recon workflow tool beginner 6 min read ReconTool for reconnaissance orchestration, `reconflow` automates and tracks changes between scans for bug bounty hunters. It integrates tools like `subfinder`, `httpx`, `katana`, and `nuclei` into a safe pipeline, enforces program scope, and records target state in SQLite. `reconflow` highlights new subdomains, live hosts, open ports, endpoints, and vulnerability findings, offering actionable lead hints and generating reports in Markdown, CSV, JSON, and SARIF v2.1.0. → pypi.org
2026-11-07 2026ZDI-26-850 Microsoft Qlib MLflowRecorder deserialization RCE news AI Deser RCEAdvisory for ZDI-26-850 detailing a Microsoft Qlib MLflowRecorder deserialization of untrusted data remote code execution vulnerability. This flaw, fixed in v0.9.8, allows remote attackers to execute arbitrary code by tricking a user into visiting a malicious page or opening a malicious file. The vulnerability stems from improper validation of user-supplied data during deserialization within the MLflowRecorder class, enabling code execution in the user's context. → zerodayinitiative.com
2026-11-07 2026graphql-core unbounded memory growth (CVE-2026-119286) news 1 min read GraphQLgraphql-core unbounded memory growth (CVE-2026-119286) occurs in the `validate` function due to a shared `ValidationAbortedError` instance retaining traceback frames from repeated invalid document validations. This vulnerability allows attackers to trigger unbounded memory growth by sending documents with numerous invalid fields, as demonstrated in a proof-of-concept impacting versions prior to 3.3.1. Upgrading to version 3.3.1 or higher resolves this issue. → security.snyk.io
2026-11-06 2026PyJWT 2.14/2.15: algorithm confusion advisories explained intermediate 4 min read AuthN JWTPyJWT 2.14.0 and 2.15.0 address fourteen CVEs, primarily revolving around algorithm confusion where public keys are mistakenly accepted as HMAC secrets. This vulnerability, affecting a wide range of Python web applications, arises from misconfigurations in the `jwt.decode()` function's `algorithms` argument, allowing attackers to sign tokens using a trusted public key as an HMAC secret. Updates to version 2.15.0 or later are recommended, alongside configuration best practices such as avoiding mixed algorithm lists and segregating key types.
2026-11-06 2026SUSE security update for python-PyJWT news 2 min read JWTUpdate for python-PyJWT addressing multiple CVEs, including CVE-2026-101917 and CVE-2026-102267. This security update resolves vulnerabilities related to request amplification, unauthenticated exceptions, credential disclosure, token forgery, revocation check failures, CPU consumption, and verification bypass on SUSE Linux Micro 6.1.
2026-11-05 2026Inside the LiteLLM 1.107.0 Compromise: How One Forgotten Key Led to a Poisoned PyPI Release news 5 min read Supply ChainLiteLLM 1.107.0 was poisoned via a PyPI release after an administrator key was left in a public commit for months, allowing an attacker to escalate privileges through CI workflows and ultimately inject malicious `.pth` and `sitecustomize.py` files into the library. These files executed a credential stealer and RCE tools on every Python interpreter startup, not just when LiteLLM was imported, making the compromise particularly dangerous.
2026-11-04 20269 Attacks That Own Most FastAPI Apps in Under an Hour (Exploit + Fix for Each) intermediate API SecThis content details nine common and critical vulnerabilities affecting FastAPI applications, demonstrating how each can be exploited within an hour. For each attack, it provides clear exploit examples and actionable fixes to secure these applications. The goal is to equip developers with practical knowledge to identify and remediate these security weaknesses efficiently.
2026-11-03 2026Python JSON Backups: Replace the File After the Write Succeeds beginner 3 min readPython JSON Backups: Replace the File After the Write Succeeds details a robust strategy for writing JSON backups by first writing to a temporary file and then replacing the original destination file only after the temporary file has been successfully written and closed. This approach prevents data loss by ensuring the previous valid backup remains intact if the new backup process fails due to serialization errors or other issues before completion, using only Python's standard library and the `os.replace` function for atomic replacement.
2026-11-03 2026“Yeahhh ! Sign in with Google ! ”: But What Actually Happens When You Click That Easy Button ? beginner 9 min read AuthNOAuth 2.0, OpenID Connect, and PKCE are explained in a "Sign in with Google" flow, detailing the secure exchange between a Django application, user's browser, and Google. This process utilizes `state` to prevent CSRF, PKCE with `code_verifier` and `code_challenge` to ensure only the originating application can complete the login, and `nonce` to protect against ID token replay. The article breaks down each step, including backend code examples, to illustrate how user data is protected during the authentication process.
2026-11-03 2026Quasar: A Cross-Platform Subdomain Enumeration Framework for Modern Cybersecurity & Red Team news 17 min read ReconQuasar is a Python-based, cross-platform framework that automates subdomain enumeration and attack-surface reconnaissance by integrating twelve security tools. It streamlines the process of discovering subdomains, validating DNS, consolidating results, and detecting responsive HTTP/HTTPS services, offering a centralized command-line interface for penetration testers, bug bounty hunters, and security researchers.
2026-11-02 2026PyJWT: PyJWK accepts empty HMAC keys (CVE-2026-102266) news 6 min read AuthN JWTPyJWT, specifically versions prior to fixes for CVE-2026-102266, exhibits an authentication bypass when verifying HS256 tokens. An empty HMAC key provided as a symmetric `PyJWK` object is accepted by the library, allowing attackers to forge tokens with arbitrary claims. This occurs because the `PyJWK` verification path bypasses the empty-key validation present in the raw key path, even with default `enforce_minimum_key_length=False` settings. Services using `PyJWK` or `PyJWKSet` with an empty HMAC JWK configuration are vulnerable.
2026-11-02 2026Breaking JWT Validation: How JSON Nulls, Python Booleans, and Unhandled Exceptions Bypass jwcrypto intermediate 3 min read AuthN AuthZ JWTjwcrypto versions <= 1.6.1 are vulnerable to JWT validation bypasses and denial-of-service attacks due to improper handling of JSON nulls and Python boolean types. The library incorrectly accepted `null` values for required claims by treating them as valid presence indicators, and allowed Python booleans to masquerade as valid numeric date timestamps because `bool` is a subclass of `int`. These flaws could lead to unauthorized access or application crashes via unhandled exceptions. A fix has been implemented to enforce strict integer validation for timestamps and disallow null values.
2026-11-02 2026One Forgotten Key, One Poisoned Release: What the LiteLLM Supply-Chain Attack Means news 12 min read AI Supply ChainLiteLLM supply-chain attack details a compromise where an administrative key, accidentally committed to a public repository and never revoked, was used to gain owner-level control of the project's GitHub. This allowed attackers to inject a credential stealer and backdoor loader into version 1.107.0, published to PyPI and container registries, which operated for approximately two hours before detection. The malicious package deployed files that automatically executed upon Python interpreter startup, targeting a wide range of cloud, developer, and AI tool credentials.
2026-11-02 2026ZDI-26-797 Meta FAIRChem pickle deserialization news AI DeserAdvisory ZDI-26-797 details a deserialization of untrusted data vulnerability in Meta FAIRChem's dense_eval and dft-compute components. Remote attackers can achieve arbitrary code execution by tricking users into opening malicious files or visiting crafted web pages. The flaw stems from inadequate validation during pickle file parsing, allowing attackers to execute code within the context of the current process. Meta has released a patch to address this issue. → zerodayinitiative.com
2026-11-02 2026ZDI-26-845 MLflow deserialization of untrusted data news AI Deser RCEAdvisory ZDI-26-845 details an MLflow Statsmodels _load_model deserialization vulnerability. Remote attackers can execute arbitrary code by tricking users into visiting a malicious page or opening a malicious file. This flaw arises from insufficient validation of user-supplied data, leading to the deserialization of untrusted input and code execution within the user's context. The vulnerability is fixed in MLflow 3.15.0. → zerodayinitiative.com
2026-11-02 2026Wizarr authenticated Jinja2 SSTI to RCE (CVE-2026-108264) news RCE SSTIA critical vulnerability (CVSS 9.1), CVE-2026-108264, has been identified in Wizarr. This bug allows authenticated users to perform Server-Side Template Injection (SSTI) during wizard step rendering, which can then lead to Remote Code Execution (RCE). The vulnerability is associated with the wizarrrr/wizarr project. It is not currently reported as actively exploited. Users should consult affected ranges and fixed versions for remediation.
2026-11-02 2026Frappe Framework SSTI in message fields (CVE-2026-119144) news 1 min read RCE SSTICVE-2026-119144 is a high-severity server-side template injection vulnerability in Frappe Framework versions prior to 15.111.0 and 16.21.0. Unsanitized user-controlled message fields allow authenticated attackers to execute arbitrary template expressions on the server, impacting confidentiality, integrity, and availability. Users should upgrade to fixed releases to mitigate this risk.
2026-11-02 2026MLflow unauthenticated full-read SSRF in webhook delivery intermediate 3 min read AI SSRFAdvisory for CVE-2026-64849 details an unauthenticated full-read SSRF vulnerability in MLflow's webhook delivery. The bypass of the `_validate_webhook_url` function is achieved through unvalidated HTTP redirects and DNS rebinding, allowing attackers to exploit a default MLflow Tracking Server's synchronous POST `/api/2.0/mlflow/webhooks/{id}/test` endpoint. This vulnerability, present in MLflow versions `>=3.3.0` and `<3.15.0`, has been added to the CISA Known Exploited Vulnerabilities catalog.
2026-11-01 2026ZDI-26-839 MLflow PickleEvaluationArtifact deserialization RCE intermediate AI Deser RCEAdvisory detailing ZDI-26-839, a remote code execution vulnerability in MLflow due to improper validation of user-supplied data during the parsing of pickle files. This flaw allows remote attackers to execute arbitrary code in the context of the current process, requiring user interaction to exploit by visiting a malicious page or opening a malicious file. The vulnerability is fixed in MLflow 3.13.0. → zerodayinitiative.com
2026-11-01 2026How a Pydantic Object Defeated a Jinja2 Sandbox: SSTI to RCE intermediate 9 min read RCE SSTIJinja2 Sandbox Escape via Pydantic `parse_raw`: This exploit leverages a server-side template injection (SSTI) vulnerability where an API endpoint renders user-supplied JSON as a Jinja2 template. Although a `SandboxedEnvironment` prevented classic injection payloads, the presence of a Pydantic model instance in the template context allowed an authenticated, low-privilege user to execute arbitrary code. The deprecated `parse_raw` method of the Pydantic model, which deserializes pickle data, was permitted by the sandbox due to its public nature and lack of "unsafe" markers, leading to remote code execution in a single request. → synack.com
2026-10-31 2026H7CTF 2026 Merged: Jinja2 SSTI filter bypass intermediate SSTIJinja2 Server-Side Template Injection (SSTI) filter bypass, demonstrated in H7CTF 2026, utilizes the `cycler` object to achieve Remote Code Execution (RCE). By accessing `cycler.__init__.__globals__.os.popen()`, an attacker can execute arbitrary commands. The bypass involves reconstructing blocked characters like underscores using their ASCII codes to circumvent naive safety filters and ultimately retrieve sensitive files, such as the flag.
2026-10-31 2026Server-Side Template Injection to RCE in a Lab intermediate 11 min read RCE SSTIWalkthrough of Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE) on a lab environment. This resource details how to identify SSTI by detecting template engine evaluation via mathematical probes, differentiate between engines like Jinja2 and Freemarker, and exploit the Jinja2 object model to access sensitive configuration like `SECRET_KEY`. It further demonstrates traversing Python's runtime to locate objects for command execution, culminating in an RCE. The guide also briefly covers defensive measures and uses the tool `tplmap` for confirmation.
2026-10-31 2026ZDI-26-816 Ultralytics load_dataset_cache_file deserialization RCE intermediate AI Deser RCEUltralytics load_dataset_cache_file deserialization RCE allows remote attackers to execute arbitrary code on affected installations. This vulnerability stems from a lack of proper validation of user-supplied data within the `load_dataset_cache_file` function, leading to the deserialization of untrusted data. Exploitation requires user interaction, such as visiting a malicious page or opening a malicious file, and allows code execution within the context of the current user. → zerodayinitiative.com