{
  "id": "CVE-2025-41659",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-41659",
  "published_at": "2025-08-04T08:04:04.597Z",
  "title": "CODESYS Control PKI Exposure Enables Remote Certificate Access",
  "vendor": "CODESYS",
  "product": "Control RTE (SL)",
  "cvss": {
    "score": 8.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A low-privileged attacker can remotely access the PKI folder of the CODESYS Control runtime system and thus read and write certificates and its keys. This allows sensitive data to be extracted or to accept certificates as trusted. Although all services remain available, only unencrypted communication is possible if the certificates are deleted.",
  "cwe": "CWE-732",
  "cvss_by_source": {
    "cna": 8.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "CODESYS",
        "product": "Control RTE (SL)",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 3.5.21.20"
        ],
        "fixed_in": [
          "3.5.21.20"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control RTE (for Beckhoff CX) SL",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 3.5.21.20"
        ],
        "fixed_in": [
          "3.5.21.20"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control Win (SL)",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 3.5.21.20"
        ],
        "fixed_in": [
          "3.5.21.20"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "HMI (SL)",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 3.5.21.20"
        ],
        "fixed_in": [
          "3.5.21.20"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Runtime Toolkit",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 3.5.21.20"
        ],
        "fixed_in": [
          "3.5.21.20"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for BeagleBone SL",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 4.17.0.0"
        ],
        "fixed_in": [
          "4.17.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for emPC-A/iMX6 SL",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 4.17.0.0"
        ],
        "fixed_in": [
          "4.17.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for IOT2000 SL",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 4.17.0.0"
        ],
        "fixed_in": [
          "4.17.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for Linux ARM SL",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 4.17.0.0"
        ],
        "fixed_in": [
          "4.17.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for Linux SL",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 4.17.0.0"
        ],
        "fixed_in": [
          "4.17.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for PFC100 SL",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 4.17.0.0"
        ],
        "fixed_in": [
          "4.17.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for PFC200 SL",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 4.17.0.0"
        ],
        "fixed_in": [
          "4.17.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for PLCnext SL",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 4.17.0.0"
        ],
        "fixed_in": [
          "4.17.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for Raspberry Pi SL",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 4.17.0.0"
        ],
        "fixed_in": [
          "4.17.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for WAGO Touch Panels 600 SL",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 4.17.0.0"
        ],
        "fixed_in": [
          "4.17.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Virtual Control SL",
        "ranges": [
          "\u003e= 0.0.0.0, \u003c 4.17.0.0"
        ],
        "fixed_in": [
          "4.17.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Control RTE (SL) to 3.5.21.20 or later.",
      "Upgrade Control RTE (for Beckhoff CX) SL to 3.5.21.20 or later.",
      "Upgrade Control Win (SL) to 3.5.21.20 or later.",
      "Upgrade HMI (SL) to 3.5.21.20 or later.",
      "Upgrade Runtime Toolkit to 3.5.21.20 or later.",
      "Upgrade Control for BeagleBone SL to 4.17.0.0 or later.",
      "Upgrade Control for emPC-A/iMX6 SL to 4.17.0.0 or later.",
      "Upgrade Control for IOT2000 SL to 4.17.0.0 or later.",
      "Upgrade Control for Linux ARM SL to 4.17.0.0 or later.",
      "Upgrade Control for Linux SL to 4.17.0.0 or later.",
      "Upgrade Control for PFC100 SL to 4.17.0.0 or later.",
      "Upgrade Control for PFC200 SL to 4.17.0.0 or later.",
      "Upgrade Control for PLCnext SL to 4.17.0.0 or later.",
      "Upgrade Control for Raspberry Pi SL to 4.17.0.0 or later.",
      "Upgrade Control for WAGO Touch Panels 600 SL to 4.17.0.0 or later.",
      "Upgrade Virtual Control SL to 4.17.0.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
