nday
CVE-2023-0297 GHSA-pf38-5p22-x6h6

Code Injection in pyload/pyload

pyload / pyload/pyload

A public PoC appeared on the day of disclosure. Patched: fixed in pyload-ng 0.5.0b3.dev31. All four PoC sources list it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

code injection
CWE-94, stated by the CNA @huntrdev, NVD, republishing [email protected], and GitHub advisory GHSA-pf38-5p22-x6h6
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from the CNA @huntrdev
network
AV:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from the CNA @huntrdev
no authentication required
PR:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from the CNA @huntrdev
no user interaction
UI:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from the CNA @huntrdev
Metasploit
Metasploit modules exploit/linux/http/pyload_js2py_exec
Exploit-DB
Exploit-DB entries 51532
nuclei
nuclei templates CVE-2023-0297
PyPI
GHSA-pf38-5p22-x6h6: pip packages pyload-ng
stage
POC
disclosed
disclosure → patch
T+1402d
cvss
9.8 CRITICAL v3.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2023-01-14T00:00Z
PATpatch
2026-11-16T17:01Z
ANAanalysis
no record yet
POCPoC
2023-01-14, date only +2 more
metasploit, nuclei
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 3.0 vector from the CVE record, scored by the CNA @huntrdev.

Event log

+DISdisclosed

CVE record published by @huntrdev. CVSS 9.8, critical. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "id": 62469,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2023-0297",
  "occurred_at": "2023-01-14T00:00:00Z",
  "observed_at": "2026-11-12T19:05:02.001372Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.0",
      "base_score": 9.8,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2025-04-07T18:41:46.711629Z",
      "automatable": "yes",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2023-01-14T00:00:00.000Z",
    "assigner_short_name": "@huntrdev"
  }
}
2023-01-14date only, from source
+POCpublic PoC

PoC repository on GitHub: bAuh0lz/CVE-2023-0297_Pre-auth_RCE_in_pyLoad. The date is the repository's creation day.

src github 586854096 · nday , bulk import · raw
{
  "id": 482906,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/bAuh0lz/CVE-2023-0297_Pre-auth_RCE_in_pyLoad",
  "occurred_at": "2023-01-14T00:00:00Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "586854096",
  "detail": {
    "url": "https://github.com/bAuh0lz/CVE-2023-0297_Pre-auth_RCE_in_pyLoad",
    "title": "bAuh0lz/CVE-2023-0297_Pre-auth_RCE_in_pyLoad",
    "precision": "day"
  }
}
2023-02-15date only, from source
+POCpublic PoC

PoC repository on GitHub: Small-ears/CVE-2023-0297. The date is the repository's creation day.

src github 601937653 · nday , bulk import · raw
{
  "id": 482907,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/Small-ears/CVE-2023-0297",
  "occurred_at": "2023-02-15T06:28:40Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "601937653",
  "detail": {
    "url": "https://github.com/Small-ears/CVE-2023-0297",
    "title": "Small-ears/CVE-2023-0297",
    "precision": "day"
  }
}
2023-06-14date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PyLoad 0.5.0 - Pre-auth Remote Code Execution (RCE)” (EDB-51532). Verified by Exploit-DB.

src exploitdb 51532 · nday , bulk import · raw
{
  "id": 42295,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/51532",
  "occurred_at": "2023-06-14T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "51532",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/51532",
    "file": "exploits/python/webapps/51532.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "PyLoad 0.5.0 - Pre-auth Remote Code Execution (RCE)",
    "author": "Gabriel Lima",
    "edb_id": 51532,
    "cve_ids": [
      "CVE-2023-0297"
    ],
    "platform": "python",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2023-06-20",
    "date_updated": "2023-06-20",
    "date_published": "2023-06-14"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version pyload-ng 0.5.0b3.dev31. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-pf38-5p22-x6h6 · nday , observed live · raw
{
  "id": 473086,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-pf38-5p22-x6h6",
  "occurred_at": null,
  "observed_at": "2026-11-16T17:01:02.573287Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-pf38-5p22-x6h6",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.8,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Control of Generation of Code",
        "cwe_id": "CWE-94"
      }
    ],
    "ghsa_id": "GHSA-pf38-5p22-x6h6",
    "packages": [
      {
        "name": "pyload-ng",
        "ecosystem": "pip",
        "first_patched_version": "0.5.0b3.dev31",
        "vulnerable_version_range": "< 0.5.0b3.dev31"
      }
    ],
    "severity": "critical",
    "references": [
      "https://nvd.nist.gov/vuln/detail/CVE-2023-0297",
      "https://github.com/pyload/pyload/commit/7d73ba7919e594d783b3411d7ddb87885aea782d",
      "https://huntr.dev/bounties/3fd606f7-83e1-4265-b083-2e1889a05e65",
      "http://packetstormsecurity.com/files/171096/pyLoad-js2py-Python-Execution.html",
      "http://packetstormsecurity.com/files/172914/PyLoad-0.5.0-Remote-Code-Execution.html",
      "https://github.com/pypa/advisory-database/tree/main/vulns/pyload-ng/PYSEC-2026-498.yaml",
      "https://pypi.org/project/pyload-ng",
      "https://github.com/advisories/GHSA-pf38-5p22-x6h6"
    ],
    "fix_commit_urls": [
      "https://github.com/pyload/pyload/commit/7d73ba7919e594d783b3411d7ddb87885aea782d"
    ],
    "github_reviewed_at": "2023-01-25T22:03:48Z",
    "advisory_updated_at": "2026-11-16T16:05:47Z",
    "source_code_location": "",
    "advisory_published_at": "2023-01-14T03:30:21Z"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/linux/http/pyload_js2py_exec (pyLoad js2py Python Execution). The source gives no release time for the module.

src metasploit exploit/linux/http/pyload_js2py_exec · nday , bulk import · raw
{
  "id": 50702,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/pyload_js2py_exec.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/linux/http/pyload_js2py_exec",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/pyload_js2py_exec.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/linux/http/pyload_js2py_exec.rb",
    "rank": 600,
    "check": true,
    "title": "pyLoad js2py Python Execution",
    "cve_ids": [
      "CVE-2023-0297"
    ],
    "fullname": "exploit/linux/http/pyload_js2py_exec",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2025-12-17 16:12:31 +0000",
    "vuln_disclosure_date": "2023-01-13"
  }
}
time unknownsource gave no time
+POCpublic PoC

Nuclei has detection template CVE-2023-0297 (PyLoad 0.5.0 - Pre-auth Remote Code Execution (RCE)). The source gives no release time for the template.

src nuclei · nday , bulk import · raw
{
  "id": 55442,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-0297.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2023-0297",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-0297.yaml",
    "kind": "detection_template",
    "title": "PyLoad 0.5.0 - Pre-auth Remote Code Execution (RCE)",
    "severity": "critical",
    "confidence": "curated",
    "cvss_score": "9.8",
    "template_id": "CVE-2023-0297",
    "template_path": "http/cves/2023/CVE-2023-0297.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.