CVE-2021-34594
highpriority · track · 26EPSS 0.011 · 66 %ileDEEURUUSEPSS · scored 2026-10-27
TwinCAT OPC UA Server in TF6100 and TS6100 in product versions before 4.3.48.0 or with TcOpcUaServer versions below 3.2.0.194 are prone to a relative path traversal that allow administrators to create or delete any files on the system.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedbeckhoff_psirt
Please update to a recent version of the affected product.
- Mitigationbeckhoff_psirt
Consider restricting access to the nodes of the 'TcOpcUAServer' with the methods described by https://infosys.beckhoff.com/content/1033/tcopcuaserver/5930038411-1.html such that the administrative interface can only be accessed by administrative users of well known OPC UA clients.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6–8.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- VDE-2021-051Beckhoff: Relative path traversal vulnerability through TwinCAT OPC UA Server2021-11-04csaf · beckhoff_psirtDE
Through specific nodes of the server configuration interface of the TwinCAT OPC UA Server administrators are able to remotely create and delete any files on the system which the server is running on, though this access should have been restricted to specific directories. In case that configuration interface is combined with not recommended settings to allow anonymous access via the TwinCAT OPC UA Server then this kind of file access is even possible for any unauthenticated user from remote.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://cert.vde.com/en/advisories/VDE-2021-051/cnnvd
- https://download.beckhoff.com/download/document/product-security/Advisories/advisory-2021-003.pdfPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-34594cnnvd
- https://cert.vde.com/en/advisories/VDE-2021-051/enisa_euvd
- https://cert.vde.com/en/advisories/VDE-2021-051/MitigationThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan