CVE-2026-42168: Vulnerability in Django-pyas2

Critical. 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.

CWE-78

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-78
Published
17 Jul 2026
Last change
23 Jul 2026

Affected products

Affected versions and the first fixed release

  • Django-pyas2 Through 1.2.3. No fixed version recorded

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related