CVE-2026-42168
django-pyas2 through 1.2.3 is vulnerable to OS command injection via the cmdreceive and cmdsend 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.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/abhishek-ram/django-pyas2/releases/tag/v1.2.3, https://github.com/m4ty-m/vulnerability-research/tree/main/CVE-2026-42168, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42168.json, https://nvd.nist.gov/vuln/detail/CVE-2026-42168, https://github.com/abhishek-ram/django-pyas2