{"id":"CVE-2026-118498","state":"PUBLISHED","title":"Improper Limitation of a Pathname to a Restricted Directory in CODESYS Automation Server Connector","description":"The CODESYS Automation Server Connector uses server-supplied file names without sufficient path traversal checks. An unauthenticated remote attacker controlling a malicious Automation Server and tricking a user to trust it, or performing a man-in-the-middle attack on a trusted communication channel, can exploit this vulnerability to write attacker-controlled files to arbitrary locations on the engineering workstation and subsequently achieve arbitrary code execution with user privileges.","publishedAt":"2026-11-17T09:10:47.524Z","updatedAt":"2026-11-17T18:48:00.890Z","severity":{"score":7.5,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"CERTVDE"},"assigner":"CERTVDE","products":["CODESYS Automation Server Connector"],"affected":[{"vendor":"CODESYS","product":"Automation Server Connector","defaultStatus":"unaffected","versions":[{"version":"1.23.0.0","status":"affected","lessThan":"1.40.0.0","versionType":"semver"}]}],"references":["https://www.certvde.com/en/advisories/VDE-2026-146/"],"weaknesses":["CWE-22"],"ingestedAt":"2026-11-17T18:54:06.266Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118498.json","commit":"7eb9238e0fa7b3f0966ab0ece82cca20803f5104","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118498","state":"PUBLISHED","datePublished":"2026-11-17T09:10:47.524Z","dateUpdated":"2026-11-17T18:48:00.890Z","assignerShortName":"CERTVDE","assignerOrgId":"270ccfa6-a436-4e77-922e-914ec3a9685c","dateReserved":"2026-10-28T12:56:04.688Z"},"containers":{"cna":{"title":"Improper Limitation of a Pathname to a Restricted Directory in CODESYS Automation Server Connector","descriptions":[{"lang":"en","value":"The CODESYS Automation Server Connector uses server-supplied file names without sufficient path traversal checks. An unauthenticated remote attacker controlling a malicious Automation Server and tricking a user to trust it, or performing a man-in-the-middle attack on a trusted communication channel, can exploit this vulnerability to write attacker-controlled files to arbitrary locations on the engineering workstation and subsequently achieve arbitrary code execution with user privileges."}],"affected":[{"vendor":"CODESYS","product":"Automation Server Connector","defaultStatus":"unaffected","versions":[{"version":"1.23.0.0","status":"affected","lessThan":"1.40.0.0","versionType":"semver"}]}],"references":[{"url":"https://www.certvde.com/en/advisories/VDE-2026-146/"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.5,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CERTVDE","orgId":"270ccfa6-a436-4e77-922e-914ec3a9685c","dateUpdated":"2026-11-17T09:10:47.524Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:codesys:codesys_automation_server_connector:*:*:*:*:*:*:*:*","versionEndExcluding":"1.40.0.0","versionStartIncluding":"1.23.0.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"credits":[{"lang":"en","type":"finder","value":"f0rw4rd aka Felix Eberstaller from Limes Security / QuellSec"}],"source":{"advisory":"VDE-2026-146","defect":["CERT@VDE#642394"],"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.4.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-17T18:47:45.611255Z","id":"CVE-2026-118498","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-17T18:48:00.890Z"}}]}}}