{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "django-pyas2"
              },
              {
                "fixed": "1.2.3"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3d5c1f365a44dbb736d422950db357ff9b76ea83"
            }
          ],
          "repo": "https://github.com/abhishek-ram/django-pyas2",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42168.json"
  },
  "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.",
  "id": "CVE-2026-42168",
  "modified": "2026-07-21T03:41:46.143955276Z",
  "published": "2026-07-17T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/abhishek-ram/django-pyas2/releases/tag/v1.2.3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/m4ty-m/vulnerability-research/tree/main/CVE-2026-42168"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42168.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42168"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/abhishek-ram/django-pyas2"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}