All CVEs / Asciidoctor-include-ext Project
CVE-2022-24803Asciidoctor-include-ext Project Asciidoctor-include-ext
Critical 9.8 No auth needed
Follow: this CVE · Asciidoctor-include-ext Project · Asciidoctor-include-ext Project Asciidoctor-include-ext We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Apr 1, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Asciidoctor-include-ext.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | asciidoctor-include-ext |
< 0.4.0 |
0.4.0 |
gem "asciidoctor-include-ext", ">= 0.4.0" |
Per OSV / GitHub Advisories (GHSA-v222-6mr4-qj29). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| asciidoctor-include-ext_project | asciidoctor-include-ext | < 0.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory