---
id: "CVE-2023-0297"
page: "https://infrastack.ai/live/CVE-2023-0297"
kind: "vulnerability"
aliases: ["CVE-2023-0297", "GHSA-pf38-5p22-x6h6"]
title: "Code Injection in pyload-ng"
severity: "critical"
cvss: 9.8
epss: 0.95915
exploited: false
status: "open"
category: "package"
products: [{"name": "pyload-ng", "fixed": ["0.5.0b3.dev31"], "affected": "< 0.5.0b3.dev31", "ecosystem": "pypi"}, {"name": "pyload", "fixed": [], "affected": "<= 0.4.20", "ecosystem": "vendor"}]
ecosystems: ["pypi", "vendor"]
tags: ["cwe-94", "package", "pyload-ng", "python", "self-hosted"]
not_affected_if: ["fixed-version"]
published_at: "2023-01-14T03:15:18+00:00"
first_seen_at: "2026-11-16T16:08:25+00:00"
updated_at: "2026-11-16T16:38:06+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-pf38-5p22-x6h6", "first_seen_at": "2026-11-16T16:08:25+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-0297", "first_seen_at": "2026-11-16T16:38:06+00:00"}]
exploit_sources: [{"type": "poc", "url": "https://huntr.dev/bounties/3fd606f7-83e1-4265-b083-2e1889a05e65"}, {"type": "epss", "score": 0.95915, "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-0297"}]
---

# Code Injection in pyload-ng

Link for people: https://infrastack.ai/live/CVE-2023-0297 (this .md is for agents)

pyLoad-ng, a Python download manager, has a code injection flaw (CWE-94) in versions before 0.5.0b3.dev31. An attacker who can reach the affected feature can make the server run code they supply.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- pypi:pyload-ng affected < 0.5.0b3.dev31 fixed 0.5.0b3.dev31
- vendor:pyload affected <= 0.4.20 fixed no fixed version listed

## How to check

- Run `pip show pyload-ng` and check whether the version is below `0.5.0b3.dev31`.
- Check whether the web interface or API of pyLoad is reachable from untrusted networks.

## Fix

- `pyload-ng` `0.5.0b3.dev31`

## Timeline

- 2026-11-16T16:08:25+00:00 ghsa https://github.com/advisories/GHSA-pf38-5p22-x6h6
- 2026-11-16T16:38:06+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2023-0297

## Documents

- [fix] Patch: github.com https://github.com/pyload/pyload/commit/7d73ba7919e594d783b3411d7ddb87885aea782d
- [poc] Exploit: huntr.dev https://huntr.dev/bounties/3fd606f7-83e1-4265-b083-2e1889a05e65

## From the sources

Code Injection in GitHub repository pyload/pyload prior to 0.5.0b3.dev31.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
