Command Injection Affecting django-pyas2 package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.23% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJANGOPYAS2-18600672
  • published9 Aug 2026
  • disclosed17 Jul 2026
  • creditUnknown

Introduced: 17 Jul 2026

CVE-2026-42168  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for django-pyas2.

Overview

django-pyas2 is an AS2 file transfer Server built on Python and Django.

Affected versions of this package are vulnerable to Command Injection via the cmd_receive and cmd_send fields in the Partner model, which are passed directly to the os.system function without sanitization. An attacker can execute arbitrary operating system commands by supplying crafted input to these fields when an AS2 message is received or sent. This is only exploitable if the attacker has authenticated admin access to the application.

References

CVSS Base Scores

version 4.0
version 3.1