# Command injection in Siemens SIMATIC CP 1242-7 V2 and others

CVE record · `CVE-2022-34820`

- **Identifiers:** `CVE-2022-34820`
- **State:** Confirmed
- **Severity:** CVSS 8.4 High
- **Critical:** No
- **CNA:** siemens
- **Weakness (CWE):** [CWE-77](https://cwe.mitre.org/data/definitions/77.html)
- **Tags:** [Command injection](https://agentprime.io/advisories/tag/command-injection.md)
- **Technologies:** [Siemens SIMATIC CP 1242-7 V2](https://agentprime.io/advisories/technology/siemens-simatic-cp-1242-7-v2.md) · [Siemens SIMATIC CP 1243-1](https://agentprime.io/advisories/technology/siemens-simatic-cp-1243-1.md) · [Siemens SIMATIC CP 1243-7 LTE EU](https://agentprime.io/advisories/technology/siemens-simatic-cp-1243-7-lte-eu.md) · [Siemens SIMATIC CP 1243-7 LTE US](https://agentprime.io/advisories/technology/siemens-simatic-cp-1243-7-lte-us.md) · [Siemens SIMATIC CP 1243-8 IRC](https://agentprime.io/advisories/technology/siemens-simatic-cp-1243-8-irc.md) · [Siemens SIMATIC CP 1542SP-1 IRC](https://agentprime.io/advisories/technology/siemens-simatic-cp-1542sp-1-irc.md) · [Siemens SIMATIC CP 1543-1](https://agentprime.io/advisories/technology/siemens-simatic-cp-1543-1.md) · [Siemens SIMATIC CP 1543SP-1](https://agentprime.io/advisories/technology/siemens-simatic-cp-1543sp-1.md) · [Siemens SIPLUS ET 200SP CP 1542SP-1 IRC TX RAIL](https://agentprime.io/advisories/technology/siemens-siplus-et-200sp-cp-1542sp-1-irc-tx-rail.md) · [Siemens SIPLUS ET 200SP CP 1543SP-1 ISEC](https://agentprime.io/advisories/technology/siemens-siplus-et-200sp-cp-1543sp-1-isec.md) · [Siemens SIPLUS ET 200SP CP 1543SP-1 ISEC TX RAIL](https://agentprime.io/advisories/technology/siemens-siplus-et-200sp-cp-1543sp-1-isec-tx-rail.md) · [Siemens SIPLUS NET CP 1242-7 V2](https://agentprime.io/advisories/technology/siemens-siplus-net-cp-1242-7-v2.md) · [Siemens SIPLUS NET CP 1543-1](https://agentprime.io/advisories/technology/siemens-siplus-net-cp-1543-1.md) · [Siemens SIPLUS S7-1200 CP 1243-1](https://agentprime.io/advisories/technology/siemens-siplus-s7-1200-cp-1243-1.md) · [Siemens SIPLUS S7-1200 CP 1243-1 RAIL](https://agentprime.io/advisories/technology/siemens-siplus-s7-1200-cp-1243-1-rail.md)
- **Published:** 12 Jul 2022
- **Updated:** 21 Apr 2025
- **Reviewed by a person:** No

Published by the CVE Program (CNA: siemens) at 12 Jul 2022, 10:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Siemens. Product: SIMATIC CP 1242-7 V2.
  - affected: `All versions < V3.3.46`
  - Other versions: unknown
- Vendor: Siemens. Product: SIMATIC CP 1243-1.
  - affected: `All versions < V3.3.46`
  - Other versions: unknown
- Vendor: Siemens. Product: SIMATIC CP 1243-7 LTE EU.
  - affected: `All versions < V3.3.46`
  - Other versions: unknown
- Vendor: Siemens. Product: SIMATIC CP 1243-7 LTE US.
  - affected: `All versions < V3.3.46`
  - Other versions: unknown
- Vendor: Siemens. Product: SIMATIC CP 1243-8 IRC.
  - affected: `All versions < V3.3.46`
  - Other versions: unknown
- Vendor: Siemens. Product: SIMATIC CP 1542SP-1 IRC.
  - affected: `All versions >= V2.0 < V2.2.28`
  - Other versions: unknown
- Vendor: Siemens. Product: SIMATIC CP 1543-1.
  - affected: `All versions < V3.0.22`
  - Other versions: unknown
- Vendor: Siemens. Product: SIMATIC CP 1543SP-1.
  - affected: `All versions >= V2.0 < V2.2.28`
  - Other versions: unknown
- Vendor: Siemens. Product: SIPLUS ET 200SP CP 1542SP-1 IRC TX RAIL.
  - affected: `All versions >= V2.0 < V2.2.28`
  - Other versions: unknown
- Vendor: Siemens. Product: SIPLUS ET 200SP CP 1543SP-1 ISEC.
  - affected: `All versions >= V2.0 < V2.2.28`
  - Other versions: unknown
- Vendor: Siemens. Product: SIPLUS ET 200SP CP 1543SP-1 ISEC TX RAIL.
  - affected: `All versions >= V2.0 < V2.2.28`
  - Other versions: unknown
- Vendor: Siemens. Product: SIPLUS NET CP 1242-7 V2.
  - affected: `All versions < V3.3.46`
  - Other versions: unknown
- Vendor: Siemens. Product: SIPLUS NET CP 1543-1.
  - affected: `All versions < V3.0.22`
  - Other versions: unknown
- Vendor: Siemens. Product: SIPLUS S7-1200 CP 1243-1.
  - affected: `All versions < V3.3.46`
  - Other versions: unknown
- Vendor: Siemens. Product: SIPLUS S7-1200 CP 1243-1 RAIL.
  - affected: `All versions < V3.3.46`
  - Other versions: unknown

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 8.4 High, CVSS 3.1: `CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C`, from CNA (siemens)

- **CISA KEV:** Not listed.
- **EPSS:** 0.022, the 82nd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 12 Jul 2022. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-34820](https://www.cve.org/CVERecord?id=CVE-2022-34820)
- [NVD: CVE-2022-34820](https://nvd.nist.gov/vuln/detail/CVE-2022-34820)

### References from the CNA

- <https://cert-portal.siemens.com/productcert/pdf/ssa-517377.pdf>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-34820>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-34820/>. Everything for agents: <https://agentprime.io/llms.txt>.
