# CVE-2026-42168: django-pyas2 through 1.2.3 is vulnerable to OS command injection via the cmdreceive and cmdsend fields on the Partner model.

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.23%, higher than 69% of CVEs (2026-12-01)
- Published: 2026-07-17T00:00:00.000Z
- Modified: 2026-07-23T18:28:20.910Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/abhishek-ram/django-pyas2>
- <https://github.com/abhishek-ram/django-pyas2/releases/tag/v1.2.3>
- <https://github.com/m4ty-m/vulnerability-research/tree/main/CVE-2026-42168>

## Sources

- CVE List: [CVE-2026-42168](https://www.cve.org/CVERecord?id=CVE-2026-42168), CVE Terms of Use, modified 2026-07-20
- NVD: [CVE-2026-42168](https://nvd.nist.gov/vuln/detail/CVE-2026-42168), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-42168 · Whole record: https://cve.day/CVE-2026-42168.json · Rebuilt by cve.day 2026-11-25T22:59:28.521Z
