CVE-2023-0297
CVE-2023-0297 — Code Injection in pyload/pyload
Code Injection in GitHub repository pyload/pyload prior to 0.5.0b3.dev31.
Published Updated Sources: NVD, pyload (CNA), GitHub, GitHub Security Advisory, Exploit-DB, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Reported
not confirmed by CISA
EPSS
96%
ahead of 99.9% of scored CVEs
CVSS base
9.8
critical · 2 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade pyload-ng to 0.5.0b3.dev31 or later (pip advisory GHSA-pf38-5p22-x6h6).
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Pyload | pyload/pyload | unspecified to < 0.5.0b3.dev31 | Vulnerable |
| Pip | pyload-ng | < 0.5.0b3.dev31 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | NVD, GHSA |
| 9.8 | CVSS 3.0 | critical | 3.9 | 5.9 | huntr.dev (CNA), pyload (CNA) |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-94 · Improper Control of Generation of Code ('Code Injection')
- Bypass Protection Mechanism
- Gain Privileges or Assume Identity
- Execute Unauthorized Code or Commands
- Hide Activities
Mitigation: Refactor your program so that you do not have to dynamically generate code.
Weakness & attack patterns
- CWE-94Code Injection
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
32
4 of the 5 sampled are weaponized
Exploit entries
11
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /pyload.
- Prioritize edge telemetry for network-reachable Pyload/pyload, Pyload-ng.
- Monitor for scanner or exploit-pattern traffic after 43 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 9.8 (AV:N)
Jun 17, 2026 · NVD
- 2024
CVE is exploited. "btar1gan/exploit_CVE-2023-0297"
Sep 15, 2024 · SOCRadar CTI
CVE is exploited. "k0mi-tg/CVE-POC"
Feb 2, 2024 · SOCRadar CTI
CVE is exploited. "ARPSyndicate/cvemon"
Jan 23, 2024 · SOCRadar CTI
CVE is exploited. "GhostTroops/TOP"
Jan 23, 2024 · SOCRadar CTI
CVE is exploited. "manas3c/CVE-POC"
Jan 23, 2024 · SOCRadar CTI
CVE is exploited. "nomi-sec/PoC-in-GitHub"
Jan 23, 2024 · SOCRadar CTI
- 2023
CVE is exploited. "PyLoad 0.5.0 - Pre-auth Remote Code Execution (RCE)"
Jun 21, 2023 · SOCRadar CTI
Added · Verified webapps entry: PyLoad 0.5.0 - Unauthenticated Remote Code Execution (RCE)
Jun 14, 2023 · Exploit-DB
Initial · CVE published
Jan 14, 2023 · NVD
Added · GHSA-pf38-5p22-x6h6 published (critical)
Jan 14, 2023 · GitHub Security Advisory
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 26×SVRS was changedJun 18, 2023 – Oct 4, 2024 · SOCRadar CTI
- 6×Github ReposSep 14, 2023 – Nov 30, 2024 · SOCRadar CTI
- 1×Tweets · 1 time tweeted.Nov 16, 2026 · SOCRadar CTI
References
9 on the record
- packetstormsecurity.com/files/171096/pyLoad-js2py-Python-Execution.html
Vendor Advisory, NIST, GITHUB
- packetstormsecurity.com/files/172914/PyLoad-0.5.0-Remote-Code-Execution.html
Vendor Advisory, NIST, GITHUB
- github.com/pyload/pyload/commit/7d73ba7919e594d783b3411d7ddb87885aea782d
Patch, Third Party Advisory, MITRE, NIST
- huntr.dev/bounties/3fd606f7-83e1-4265-b083-2e1889a05e65
Exploit, Third Party Advisory, MITRE, NIST, GITHUB
- nvd.nist.gov/vuln/detail/CVE-2023-0297
NVD
- github.com/pypa/advisory-database/tree/main/vulns/pyload-ng/PYSEC-2026-498.yaml
Exploit, Third Party Advisory
- pypi.org/project/pyload-ng
Vendor Advisory
- github.com/advisories/GHSA-pf38-5p22-x6h6
Exploit, Third Party Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-32432 Craft CMS Allows Remote Code ExecutionCVSS 10.0 · CISA KEV
- CVE-2024-4040 CrushFTP VFS Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2022-24816 Improper Control of Generation of Code in jai-extCVSS 10.0 · CISA KEV
- CVE-2022-22947 VMware Spring Cloud Gateway Code Injection VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2021-22205 GitLab Community and Enterprise Editions Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2019-7609 Kibana Arbitrary Code ExecutionCVSS 10.0 · CISA KEV
Elsewhere on this site
- Pyloadevery CVE for this vendor
- Pipevery CVE for this vendor
- pyload/pyloadevery page on this product
- Remote Code Execsame class
- CWE-94other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2023-0297 is Code Injection in pyload/pyload, a critical vulnerability affecting Pyload/pyload, Pyload-ng from Pyload, Pip. The current evidence does not list it in CISA KEV, and the exploit status is: Exploitation is reported, but no independent confirmation is available in the sources we have. Public exploit evidence is: 43 public PoC repositories reported; 4 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 96% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.
