{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "26.1.11"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3af496143a19153c18b2f9458b2510d58aff2b98"
            },
            {
              "fixed": "6101b3e2c90482111f420a47775c14a447441a72"
            }
          ],
          "repo": "https://github.com/opnsense/core",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2m9v-p7r9-gfcw"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58393.json"
  },
  "details": "OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, the OpenVPN Client Specific Override common_name field accepts path traversal sequences and openvpn_csc_conf_write() concatenates the value into /var/etc/openvpn-csc/\u003cvpnid\u003e/\u003ccommon_name\u003e without normalization or a basename check. The affected event handlers are client_connect.php and user_pass_verify.php. An authenticated user with Client Specific Override privileges can store the traversal value, and a matching OpenVPN client-connect or authentication event causes a generated CSO file to be written outside the intended directory. The file content is generated OpenVPN configuration rather than arbitrary bytes, and practical exploitation requires the attacker to cause a matching common name or username to be processed. This issue is fixed in version 26.1.11.",
  "id": "CVE-2026-58393",
  "modified": "2026-10-17T02:31:03.489706934Z",
  "published": "2026-10-15T15:15:45.924Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58393.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/opnsense/core/security/advisories/GHSA-2m9v-p7r9-gfcw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58393"
    },
    {
      "type": "FIX",
      "url": "https://github.com/opnsense/core/commit/3af496143a19153c18b2f9458b2510d58aff2b98"
    },
    {
      "type": "FIX",
      "url": "https://github.com/opnsense/core/commit/6101b3e2c90482111f420a47775c14a447441a72"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OPNsense: OpenVPN Client Specific Override common_name allows path traversal in generated CSO files"
}