CVE Explorer
CVE-2026-42168
django-pyas2 through 1.2.3 is vulnerable to OS command injection via the cmd_receive and cmd_send fields on the Partner model. These fields are passed directly to os.system() in pyas2/utils.py without sanitization, allowing an authenticated admin user to execute arbitrary commands on the server when an AS2 message is received or sent.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:045740eec770786a949724f5f213d1cb53ef1edecbfecb38317843aab94bd2ed · sha256:85f961ecbb9dc4b7… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:045740eec770786a949724f5f213d1cb53ef1edecbfecb38317843aab94bd2ed · sha256:85f961ecbb9dc4b7… · /containers/adp/0/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:045740eec770786a949724f5f213d1cb53ef1edecbfecb38317843aab94bd2ed · sha256:85f961ecbb9dc4b7… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:045740eec770786a949724f5f213d1cb53ef1edecbfecb38317843aab94bd2ed · sha256:85f961ecbb9dc4b7… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:045740eec770786a949724f5f213d1cb53ef1edecbfecb38317843aab94bd2ed · sha256:85f961ecbb9dc4b7… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:045740eec770786a949724f5f213d1cb53ef1edecbfecb38317843aab94bd2ed · sha256:85f961ecbb9dc4b7… · /containers/adp/0/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"https://github.com/abhishek-ram/django-pyas2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:045740eec770786a949724f5f213d1cb53ef1edecbfecb38317843aab94bd2ed · sha256:85f961ecbb9dc4b7… · /containers/cna/references/0
{"url":"https://github.com/abhishek-ram/django-pyas2/releases/tag/v1.2.3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:045740eec770786a949724f5f213d1cb53ef1edecbfecb38317843aab94bd2ed · sha256:85f961ecbb9dc4b7… · /containers/cna/references/1
{"url":"https://github.com/m4ty-m/vulnerability-research/tree/main/CVE-2026-42168"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:045740eec770786a949724f5f213d1cb53ef1edecbfecb38317843aab94bd2ed · sha256:85f961ecbb9dc4b7… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.