# CVE-2022-24803: Command Injection vulnerability in asciidoctor-include-ext

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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): 2.69%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-31T23:27:15.000Z
- Modified: 2026-06-17T04:32:33.300Z
- Also known as: GHSA-v222-6mr4-qj29
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Asciidoctor-include-ext is Asciidoctor’s standard include processor reimplemented as an extension. Versions prior to 0.4.0, when used to render user-supplied input in AsciiDoc markup, may allow an attacker to execute arbitrary system commands on the host operating system. This attack is possible even when `allow-uri-read` is disabled! The problem has been patched in the referenced commits.

(As written by CVE List.)

## Affected

- jirutka asciidoctor-include-ext: < 0.4.0
- asciidoctor-include-ext (RubyGems): before 0.4.0
- asciidoctor-include-ext_project asciidoctor-include-ext: before 0.4.0

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/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 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://github.com/jirutka/asciidoctor-include-ext/commit/c7ea001a597c7033575342c51483dab7b87ae155> (exploit, patch, third-party-advisory, web)
- <https://github.com/jirutka/asciidoctor-include-ext/security/advisories/GHSA-v222-6mr4-qj29> (third-party-advisory, web)
- <https://github.com/jirutka/asciidoctor-include-ext/commit/cbaccf3de533cbca224bf61d0b74e4b84d41d8ee> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24803> (advisory)
- <https://github.com/jirutka/asciidoctor-include-ext> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/asciidoctor-include-ext/CVE-2022-24803.yml> (web)

## Sources

- CVE List: [CVE-2022-24803](https://www.cve.org/CVERecord?id=CVE-2022-24803), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-v222-6mr4-qj29](https://github.com/advisories/GHSA-v222-6mr4-qj29), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-24803](https://nvd.nist.gov/vuln/detail/CVE-2022-24803), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24803 · Whole record: https://cve.day/CVE-2022-24803.json · Rebuilt by cve.day 2026-11-25T22:58:10.358Z
