{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-58393","id":"CVE-2026-58393","title":"OPNsense: OpenVPN Client Specific Override common_name allows path traversal in generated CSO files","description":"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/<vpnid>/<common_name> without normalization or a basename check. The affected event handlers are client_connect.php and user_pass_verify.php. An auth","descriptionLong":"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/<vpnid>/<common_name> 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.","published":"2026-10-15T15:15:45.924Z","updated":"2026-10-28T02:30:30.726824989Z","reserved":"2026-06-30T18:19:58.377Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","rating":"medium","source":"OSV"}],"rating":"medium","products":["opnsense core"],"affectedProducts":[{"vendor":"opnsense","product":"core","defaultStatus":null,"versions":[{"version":"< 26.1.11","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-22"],"aliases":["GHSA-2m9v-p7r9-gfcw"],"references":[{"url":"https://github.com/opnsense/core/security/advisories/GHSA-2m9v-p7r9-gfcw","tags":["x_refsource_CONFIRM","exploit","advisory"]},{"url":"https://github.com/opnsense/core/commit/3af496143a19153c18b2f9458b2510d58aff2b98","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/opnsense/core/commit/6101b3e2c90482111f420a47775c14a447441a72","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58393.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58393","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00433,"epssPercentile":0.38239,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-58393","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58393","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-58393","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-58393","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}