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 up to version 1.2.3 is vulnerable to OS command injection due to unsanitized use of the cmd_receive and cmd_send fields in the Partner model. These fields are passed directly to os.system() in the pyas2/utils.py module, enabling an authenticated administrator to execute arbitrary operating system commands when AS2 messages are received or sent. This vulnerability arises from improper input validation and unsafe command execution practices within the application code.
Potential Impact
An authenticated admin user can exploit this vulnerability to execute arbitrary OS commands on the server hosting django-pyas2. This could lead to full system compromise, data theft, or disruption of service depending on the commands executed. The vulnerability requires administrative authentication, limiting exposure to trusted users with elevated privileges.
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 personnel only and avoid using vulnerable versions in production environments. Monitor vendor channels for updates or official patches addressing this issue.
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.
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The django-pyas2 package up to version 1.2.3 is vulnerable to OS command injection due to unsanitized use of the cmd_receive and cmd_send fields in the Partner model. These fields are passed directly to os.system() in the pyas2/utils.py module, enabling an authenticated administrator to execute arbitrary operating system commands when AS2 messages are received or sent. This vulnerability arises from improper input validation and unsafe command execution practices within the application code.
Potential Impact
An authenticated admin user can exploit this vulnerability to execute arbitrary OS commands on the server hosting django-pyas2. This could lead to full system compromise, data theft, or disruption of service depending on the commands executed. The vulnerability requires administrative authentication, limiting exposure to trusted users with elevated privileges.
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 personnel only and avoid using vulnerable versions in production environments. Monitor vendor channels for updates or official patches addressing this issue.
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/18/2026, 11:52:44 UTC
Last updated: 07/18/2026, 13:13:13 UTC
Views: 4
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.