PT-2026-60850 · Pypi · Django-Pyas2
CVE-2026-42168
·
Published
2026-07-17
·
Updated
2026-07-23
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
django-pyas2 versions prior to 1.2.4
Description
An OS command injection flaw exists where the
cmd receive and cmd send fields on the Partner model are passed directly to the os.system() function in pyas2/utils.py without proper sanitization. This allows an authenticated admin user to execute arbitrary commands on the server during the process of receiving or sending an AS2 message.Recommendations
Update django-pyas2 to a version newer than 1.2.3.
As a temporary mitigation, avoid configuring the
cmd receive and cmd send fields on the Partner model.Exploit
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Django-Pyas2