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

Sat, 01 Aug 2026 09:00:00 +0000

Type Values Removed Values Added
Title Unrestricted OS Command Injection via AS2 Message Fields in django-pyas2

Thu, 30 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Abhishek-ram
Abhishek-ram django-pyas2
Vendors & Products Abhishek-ram
Abhishek-ram django-pyas2

Tue, 28 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Title Unrestricted OS Command Injection via AS2 Message Fields in django-pyas2

Sun, 26 Jul 2026 10:00:00 +0000

Type Values Removed Values Added
Title OS Command Injection via Unvalidated Command Fields in django-pyas2

Wed, 22 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
Title OS Command Injection via Unvalidated Command Fields in django-pyas2

Mon, 20 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-78
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2026-07-17T00:00:00.000Z

Updated: 2026-07-20T18:06:34.329Z

Reserved: 2026-04-24T00:00:00.000Z

Link: CVE-2026-42168

cve-icon Vulnrichment

Updated: 2026-07-20T18:06:17.115Z

cve-icon NVD

Status : Deferred

Published: 2026-07-17T20:17:16.410

Modified: 2026-07-23T18:28:20.910

Link: CVE-2026-42168

cve-icon Redhat

No data.