{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-58393",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-30T18:19:58.377Z",
        "datePublished": "2026-10-15T15:15:45.924Z",
        "dateUpdated": "2026-10-15T16:07:55.688Z"
    },
    "containers": {
        "cna": {
            "title": "OPNsense: OpenVPN Client Specific Override common_name allows path traversal in generated CSO files",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-22",
                            "lang": "en",
                            "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/opnsense/core/security/advisories/GHSA-2m9v-p7r9-gfcw",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/opnsense/core/security/advisories/GHSA-2m9v-p7r9-gfcw"
                },
                {
                    "name": "https://github.com/opnsense/core/commit/3af496143a19153c18b2f9458b2510d58aff2b98",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/opnsense/core/commit/3af496143a19153c18b2f9458b2510d58aff2b98"
                },
                {
                    "name": "https://github.com/opnsense/core/commit/6101b3e2c90482111f420a47775c14a447441a72",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/opnsense/core/commit/6101b3e2c90482111f420a47775c14a447441a72"
                }
            ],
            "affected": [
                {
                    "vendor": "opnsense",
                    "product": "core",
                    "versions": [
                        {
                            "version": "< 26.1.11",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-15T15:15:45.924Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-2m9v-p7r9-gfcw",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/opnsense/core/security/advisories/GHSA-2m9v-p7r9-gfcw",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-10-15T16:07:43.427308Z",
                                "id": "CVE-2026-58393",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-10-15T16:07:55.688Z"
                }
            }
        ]
    }
}