{"api_version":"1","generated_at":"2026-07-17T22:48:53+00:00","cve":"CVE-2026-42168","urls":{"html":"https://cve.report/CVE-2026-42168","api":"https://cve.report/api/cve/CVE-2026-42168.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-42168","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42168"},"summary":{"title":"CVE-2026-42168","description":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2026-07-17 20:17:16","updated_at":"2026-07-17 20:17:16"},"problem_types":["n/a"],"metrics":[],"references":[{"url":"https://github.com/abhishek-ram/django-pyas2/releases/tag/v1.2.3","name":"https://github.com/abhishek-ram/django-pyas2/releases/tag/v1.2.3","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/abhishek-ram/django-pyas2","name":"https://github.com/abhishek-ram/django-pyas2","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/m4ty-m/vulnerability-research/tree/main/CVE-2026-42168","name":"https://github.com/m4ty-m/vulnerability-research/tree/main/CVE-2026-42168","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42168","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42168","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2026-07-17T19:39:24.895Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"url":"https://github.com/abhishek-ram/django-pyas2"},{"url":"https://github.com/abhishek-ram/django-pyas2/releases/tag/v1.2.3"},{"url":"https://github.com/m4ty-m/vulnerability-research/tree/main/CVE-2026-42168"}]}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2026-42168","datePublished":"2026-07-17T00:00:00.000Z","dateReserved":"2026-04-24T00:00:00.000Z","dateUpdated":"2026-07-17T19:39:24.895Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-17 20:17:16","lastModifiedDate":"2026-07-17 20:17:16","problem_types":["n/a"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"42168","Ordinal":"1","Title":"CVE-2026-42168","CVE":"CVE-2026-42168","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"42168","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2026-42168"}]}}}