{"id":"CVE-2023-0297","published":"2023-01-14T00:00:00Z","modified":"2025-04-07T18:41:55Z","title":"Code Injection in pyload/pyload","vendor":"pyload","product":"pyload/pyload","tier":"core","eol":null,"affectedVersions":[{"vendor":"pyload","product":"pyload/pyload","versions":[">= unspecified, < 0.5.0b3.dev31"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-07T18:41:46.711629Z","from":"CISA ADP","provenance":"source"},"description":{"text":"Code Injection in GitHub repository pyload/pyload prior to 0.5.0b3.dev31.","provenance":"source","from":"CVE.org"},"summary":{"text":"The code injection flaw lives in the pyload/pyload product, a GitHub repository, in versions prior to 0.5.0b3.dev31, and is classified as an improper control of generation of code weakness.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:18:23Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.74963,"percentile":0.99655,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2024-01-22","exploitedFirstSeen":"2024-01-22","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2023-0297","date":"2024-01-22"},{"url":"https://app.crowdsec.net/cti/cve-explorer/CVE-2023-0297","date":"2025-06-07"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"PyLoad 0.5.0 - Pre-auth Remote Code Execution (RCE) - Python webapps Exploit","url":"https://otx.alienvault.com/pulse/648b7ee010b41ae494305f6c","created":"2023-06-15"}],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://huntr.dev/bounties/3fd606f7-83e1-4265-b083-2e1889a05e65","tags":[]},{"url":"https://github.com/pyload/pyload/commit/7d73ba7919e594d783b3411d7ddb87885aea782d","tags":[]},{"url":"http://packetstormsecurity.com/files/171096/pyLoad-js2py-Python-Execution.html","tags":[]},{"url":"http://packetstormsecurity.com/files/172914/PyLoad-0.5.0-Remote-Code-Execution.html","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"PyPI","package":"pyload-ng","vulnerableRanges":["<0.5.0b3.dev31"],"patched":["0.5.0b3.dev31"],"from":["GHSA-pf38-5p22-x6h6","PYSEC-2026-498"],"provenance":"source"}],"advisories":[{"id":"GHSA-pf38-5p22-x6h6","url":"https://github.com/advisories/GHSA-pf38-5p22-x6h6","severity":"CRITICAL","ecosystem":"PyPI","package":"pyload-ng","vulnerableRanges":["<0.5.0b3.dev31"],"patched":["0.5.0b3.dev31"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2023-0517","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-0517","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":51532,"url":"https://www.exploit-db.com/exploits/51532","title":"PyLoad 0.5.0 - Unauthenticated Remote Code Execution (RCE)","type":"webapps","platform":"python","date":"2023-06-14","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2023-06-14"},"pocGithub":{"count":7,"skipped":0,"earliest":"2023-01-09","earliestUrl":"https://github.com/bAuh0lz/CVE-2023-0297_Pre-auth_RCE_in_pyLoad","repos":[{"name":"bAuh0lz/CVE-2023-0297_Pre-auth_RCE_in_pyLoad","url":"https://github.com/bAuh0lz/CVE-2023-0297_Pre-auth_RCE_in_pyLoad","stars":27,"created":"2023-01-09"},{"name":"Small-ears/CVE-2023-0297","url":"https://github.com/Small-ears/CVE-2023-0297","stars":2,"created":"2023-02-15"},{"name":"overgrowncarrot1/CVE-2023-0297","url":"https://github.com/overgrowncarrot1/CVE-2023-0297","stars":1,"created":"2023-06-15"},{"name":"hazeyez/CVE-2023-0297","url":"https://github.com/hazeyez/CVE-2023-0297","stars":0,"created":"2023-05-21"},{"name":"btar1gan/exploit_CVE-2023-0297","url":"https://github.com/btar1gan/exploit_CVE-2023-0297","stars":0,"created":"2024-09-15"}]},"metasploit":[{"name":"pyLoad js2py Python Execution","module":"exploit/linux/http/pyload_js2py_exec","type":"exploit","disclosureDate":"2023-01-13","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/pyload_js2py_exec.rb"}],"nuclei":[{"id":"CVE-2023-0297","name":"PyLoad 0.5.0 - Pre-auth Remote Code Execution (RCE)","severity":"critical","path":"http/cves/2023/CVE-2023-0297.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-0297.yaml"}],"first":{"date":"2023-01-09","source":"PoC-in-GitHub","url":"https://github.com/bAuh0lz/CVE-2023-0297_Pre-auth_RCE_in_pyLoad"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/171096/pyLoad-js2py-Python-Execution.html","http://packetstormsecurity.com/files/172914/PyLoad-0.5.0-Remote-Code-Execution.html"],"flow":[],"timeline":[{"date":"2023-01-09","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Metasploit 2023-01-13, Exploit-DB 2023-06-14","url":"https://github.com/bAuh0lz/CVE-2023-0297_Pre-auth_RCE_in_pyLoad","provenance":"source"},{"date":"2023-01-14","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-0297","provenance":"source"},{"date":"2024-01-22","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2023-0297","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":67.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1038 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.93,"detail":"percentile 0.9966"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 2 NVD exploit links; 7 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}