CVE-2026-42168

Source
https://cve.org/CVERecord?id=CVE-2026-42168
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42168.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42168
Published
2026-07-17T00:00:00Z
Modified
2026-10-28T02:30:27Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner":  "mitre",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42168.json"
}
References

Affected packages

Git / github.com/abhishek-ram/django-pyas2

Affected ranges

Type
GIT
Repo
https://github.com/abhishek-ram/django-pyas2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2"
                },
                {
                    "last_affected":  "1.2.3"
                }
            ],
            "source":  "DESCRIPTION"
        },
        {
            "original_tag":  "v1.2.3",
            "range":  [
                {
                    "fixed":  "3d5c1f365a44dbb736d422950db357ff9b76ea83"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v1.*
v1.0.1
v1.1.0
v1.1.1
v1.2.0
v1.2.1
v1.2.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42168.json"