# CVE-2021-23422: Arbitrary Code Injection

- Severity: High 7.8 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/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): 0.79%, higher than 57% of CVEs (2026-12-01)
- Published: 2021-08-16T08:00:11.661Z
- Modified: 2026-06-17T03:38:44.067Z
- Also known as: GHSA-87cj-px37-rc3x, PYSEC-2021-116, SNYK-PYTHON-BIKESHED-1537646
- Weaknesses: CWE-78
- Assigned by: snyk

## Description

This affects the package bikeshed before 3.0.0. This can occur when an untrusted source file containing Inline Tag Command metadata is processed. When an arbitrary OS command is executed, the command output would be included in the HTML output.

(As written by CVE List.)

## Affected

- bikeshed: from unspecified before 3.0.0
- bikeshed (PyPI): before 3.0.0; before b2f668fca204260b1cad28d5078e93471cb6b2dd
- bikeshed_project bikeshed: before 3.0.0

## Every score

- snyk: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/tabatkins/bikeshed/commit/b2f668fca204260b1cad28d5078e93471cb6b2dd> (fix, patch, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-PYTHON-BIKESHED-1537646> (advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23422> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/bikeshed/PYSEC-2021-116.yaml> (web)
- <https://github.com/tabatkins/bikeshed> (package)
- <https://github.com/advisories/GHSA-87cj-px37-rc3x> (advisory)

## Sources

- CVE List: [CVE-2021-23422](https://www.cve.org/CVERecord?id=CVE-2021-23422), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-87cj-px37-rc3x](https://github.com/advisories/GHSA-87cj-px37-rc3x), CC-BY-4.0, modified 2024-09-04
- NVD: [CVE-2021-23422](https://nvd.nist.gov/vuln/detail/CVE-2021-23422), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-116](https://osv.dev/vulnerability/PYSEC-2021-116), CC-BY-4.0, modified 2023-11-08

---

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