CVE-2026-42168

Published Jul 17, 2026 CVSS 3.1 · 9.1 Critical EPSS 2.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Unrestricted OS Command Injection via AS2 Message Fields in django-pyas2
Type Values Removed Values Added
First Time appeared Abhishek-ram
Abhishek-ram django-pyas2
Vendors & Products Abhishek-ram
Abhishek-ram django-pyas2
Type Values Removed Values Added
Title Unrestricted OS Command Injection via AS2 Message Fields in django-pyas2
Type Values Removed Values Added
Title OS Command Injection via Unvalidated Command Fields in django-pyas2
Type Values Removed Values Added
Title OS Command Injection via Unvalidated Command Fields in django-pyas2
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'}

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
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 20, 2026, 6:06 PM
Reserved
Apr 24, 2026, 12:00 AM
Status
Deferred
Published
Jul 17, 2026, 8:17 PM
Modified
Jul 23, 2026, 6:28 PM