# CVE-2022-1018: ICSA-22-088-01 Rockwell Automation ISaGRAF

> An attacker can exploit an XML external entity vulnerability in Rockwell Automation ISaGRAF to read local files and exfiltrate data to a remote server.

- **Severity:** Medium 5.5 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 1 Apr 2022
- **Updated:** 16 Apr 2025
- **Also known as:** GHSA-558x-9fxp-vfqf

## What is CVE-2022-1018?

CVE-2022-1018 is a medium-severity vulnerability in Rockwell Automation Connected Component Workbench, published on 1 Apr 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

When opening a malicious solution file provided by an attacker, the application suffers from an XML external entity vulnerability due to an unsafe call within a dynamic link library file. An attacker could exploit this to pass data from local files to a remote web server, leading to a loss of confidentiality.

Weakness: CWE-611 (Improper Restriction of XML External Entity Reference)

## Which versions are affected by CVE-2022-1018?

It affects 3 products.


Products: Rockwellautomation Connected Components Workbench, Rockwellautomation Isagraf, Rockwellautomation Safety Instrumented Systems Workstation.

## How do I fix CVE-2022-1018?

No fix has been published for CVE-2022-1018 yet. Limit exposure of the affected software until one is available.

## Is CVE-2022-1018 being exploited?

There is no known exploitation of CVE-2022-1018 in the wild and no public exploit code.

## Other vulnerabilities in Rockwell Automation Connected Component Workbench

- [CVE-2021-27475](https://insights.sbomify.com/CVE-2021-27475/): Rockwell Automation Connected Components Workbench Deserialization of Untrusted Data (high 8.6)
- [CVE-2021-27471](https://insights.sbomify.com/CVE-2021-27471/): Rockwell Automation Connected Components Workbench Path Traversal (high 7.7)
- [CVE-2014-5424](https://insights.sbomify.com/CVE-2014-5424/): Code injection in n/a (high 7.5)
- [CVE-2017-5176](https://insights.sbomify.com/CVE-2017-5176/): Other in Rockwell Automation Connected Components Workbench (high 7.0)
- [CVE-2021-27473](https://insights.sbomify.com/CVE-2021-27473/): Rockwell Automation Connected Components Workbench Improper Input Validation (medium 6.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-1018 and fix it if it is affected.

What it is: CVE-2022-1018 is a medium-severity vulnerability in Rockwell Automation Connected Component Workbench, published on 1 Apr 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2022-1018 in the wild and no public exploit code.

Affected product: Rockwell Automation Connected Component Workbench. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2022-1018/ (Markdown: https://insights.sbomify.com/CVE-2022-1018/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2022-1018
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-1018
- OSV: https://osv.dev/vulnerability/CVE-2022-1018

---
From sbomify Insights: https://insights.sbomify.com/CVE-2022-1018/
Summaries are generated and may contain mistakes; the official description above is the record.
