Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 2.1%top 20%

CVE-2026-42168: n/a

0
Critical
VulnerabilityCVE-2026-42168cvecve-2026-42168
Published: 07/17/2026 (07/17/2026, 00:00:00 UTC)
Source: CVE Database V5

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

django-pyas2
pkg:pypi/django-pyas2
Affected versions
<=1.2.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 22:45:48 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses