{"schemaVersion":4,"id":"CVE-2026-121019","aliases":[],"status":"published","duplicateOf":null,"title":"Improper Limitation of a Pathname to a Restricted Directory in CODESYS Visualization","description":"An unauthenticated attacker can trick a local user into generating an offline boot application from a malicious CODESYS project, causing the affected products to write files in arbitrary directories on the engineering workstation. The destination path is derived from attacker-controlled project data, whereas the file name and file contents are generated by the affected products and are not attacker-controlled.","dates":{"published":"2026-11-24T07:51:47.811Z","modified":"2026-11-24T14:58:29.652Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.6,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":4.6,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":4.6,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00293,"percentile":0.23507,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-24T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00293,"percentile":0.23507}],"last30":[{"date":"2026-11-24T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00293,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00293,"percentile":0.23507}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"codesys","product":"visualization","name":"Visualization","label":"visualization","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0.0, < 4.11.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.0.0.0","startInclusive":true,"end":"4.11.0.0","endInclusive":false}}],"versionsText":"≥ 3.0.0.0, < 4.11.0.0","eol":null,"hubHref":"/vendor/codesys/visualization"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.certvde.com/en/advisories/VDE-2026-154/","label":"www.certvde.com/en/advisories/VDE-2026-154/","hostname":"www.certvde.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-24T07:51:47.811Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-24T14:58:29.652Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 4.6, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,46],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00293,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-24T14:58:29.652Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-24T14:58:29.652Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-24T14:58:29.652Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-24T14:58:29.652Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-24T14:58:08.234Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00293,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T10:02:10.250Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T10:02:10.837Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T10:02:11.033Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T10:01:03.214Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T10:02:08.667Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T10:02:07.694Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T10:20:23.634Z","stale":false,"partial":false}}