{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "99f05996494e7e41ea0c7e13145ba20eb793e46b"
            }
          ],
          "repo": "https://github.com/khyrenz/parseusbs",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40030.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "1.9.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "fixed": "1.9"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "parseusbs before 1.9 contains an OS command injection vulnerability where the volume listing path argument (-v flag) is passed unsanitized into an os.popen() shell command with ls, allowing arbitrary command injection via crafted volume path arguments containing shell metacharacters. An attacker can provide a crafted volume path via the -v flag that injects arbitrary commands during volume content enumeration.",
  "id": "CVE-2026-40030",
  "modified": "2026-07-15T01:49:11.617777765Z",
  "published": "2026-04-08T21:35:25.533Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40030.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://mobasi.ai/sentinel"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40030"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/parseusbs-command-injection-via-volume-path-argument"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/khyrenz/parseusbs/pull/10"
    },
    {
      "type": "FIX",
      "url": "https://github.com/khyrenz/parseusbs/commit/99f05996494e7e41ea0c7e13145ba20eb793e46b"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "parseusbs \u003c 1.9 Command Injection via Volume Path Argument"
}