# CVE-2021-41110: CWL Viewer: deserialization of untrusted data can lead to complete takeover by an attacker

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.81%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-01T12:20:11.000Z
- Modified: 2026-06-17T04:07:53.440Z
- Weaknesses: CWE-502
- Assigned by: GitHub_M

## Description

cwlviewer is a web application to view and share Common Workflow Language workflows. Versions prior to 1.3.1 contain a Deserialization of Untrusted Data vulnerability. Commit number f6066f09edb70033a2ce80200e9fa9e70a5c29de (dated 2021-09-30) contains a patch. There are no available workarounds aside from installing the patch. The SnakeYaml constructor, by default, allows any data to be parsed. To fix the issue the object needs to be created with a `SafeConstructor` object, as seen in the patch.

(As written by CVE List.)

## Affected

- common-workflow-language cwlviewer: < 1.3.1
- commonwl cwlviewer: before 1.3.1

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.fatalerrors.org/a/analysis-of-the-snakeyaml-deserialization-in-java-security.html> (exploit, third-party-advisory)
- <https://github.com/common-workflow-language/cwlviewer/security/advisories/GHSA-7g7j-f5g3-fqp7> (patch, third-party-advisory)
- <https://github.com/common-workflow-language/cwlviewer/commit/f6066f09edb70033a2ce80200e9fa9e70a5c29de> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-41110](https://www.cve.org/CVERecord?id=CVE-2021-41110), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-41110](https://nvd.nist.gov/vuln/detail/CVE-2021-41110), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41110 · Whole record: https://cve.day/CVE-2021-41110.json · Rebuilt by cve.day 2026-11-25T22:58:04.248Z
