{"id":"CVE-2026-42168","details":"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.","modified":"2026-08-12T03:51:12.821629150Z","published":"2026-07-17T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42168.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://github.com/abhishek-ram/django-pyas2/releases/tag/v1.2.3"},{"type":"WEB","url":"https://github.com/m4ty-m/vulnerability-research/tree/main/CVE-2026-42168"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42168.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42168"},{"type":"PACKAGE","url":"https://github.com/abhishek-ram/django-pyas2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/abhishek-ram/django-pyas2","events":[{"introduced":"0"},{"fixed":"3d5c1f365a44dbb736d422950db357ff9b76ea83"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"django-pyas2"},{"fixed":"1.2.3"}]}}],"versions":["v1.2.2","v1.2.1","v1.2.0","v1.1.1","v1.1.0","v1.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42168.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}