CVE-2026-42168: n/a
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.
AI Analysis
Technical Summary
The django-pyas2 package through version 1.2.3 is vulnerable to OS command injection due to unsanitized use of the cmd_receive and cmd_send fields on the Partner model. These fields are directly passed to the os.system() function in pyas2/utils.py without input validation or sanitization. An authenticated admin user can exploit this flaw to execute arbitrary operating system commands on the server when an AS2 message is received or sent. This vulnerability is tracked as CVE-2026-42168 and is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command).
Potential Impact
Successful exploitation allows an authenticated admin user to execute arbitrary OS commands on the server, potentially leading to full system compromise or unauthorized actions. The vulnerability impacts confidentiality and integrity but does not directly affect availability. The CVSS score of 9.1 reflects a critical impact with network attack vector, low attack complexity, no privileges required, and no user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict administrative access to trusted users only and avoid using affected versions in production environments. Monitor for vendor updates or patches addressing this vulnerability.
CVE-2026-42168: n/a
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.
CVSS v3.1
Score 9.1critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The django-pyas2 package through version 1.2.3 is vulnerable to OS command injection due to unsanitized use of the cmd_receive and cmd_send fields on the Partner model. These fields are directly passed to the os.system() function in pyas2/utils.py without input validation or sanitization. An authenticated admin user can exploit this flaw to execute arbitrary operating system commands on the server when an AS2 message is received or sent. This vulnerability is tracked as CVE-2026-42168 and is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command).
Potential Impact
Successful exploitation allows an authenticated admin user to execute arbitrary OS commands on the server, potentially leading to full system compromise or unauthorized actions. The vulnerability impacts confidentiality and integrity but does not directly affect availability. The CVSS score of 9.1 reflects a critical impact with network attack vector, low attack complexity, no privileges required, and no user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict administrative access to trusted users only and avoid using affected versions in production environments. Monitor for vendor updates or patches addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-04-24T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5b5eae2d1edb114c7fb316
Added to database: 07/18/2026, 11:08:30 UTC
Last enriched: 07/25/2026, 22:45:48 UTC
Last updated: 08/28/2026, 10:52:08 UTC
Views: 64
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.