CVE-2026-42168 Command injection in n/a
An authenticated admin can execute arbitrary OS commands via unsanitized fields in the django-pyas2 library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-42168?
CVE-2026-42168 is a critical command injection vulnerability in n/a, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2026-42168?
How do I fix CVE-2026-42168?
No fix has been published for CVE-2026-42168 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-42168 being exploited?
There is no known exploitation of CVE-2026-42168 in the wild and no public exploit code.
Sources
Also known as GHSA-7pr9-vhx8-frqq.