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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jirutka | asciidoctor-include-ext | < 0.4.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ruby-asciidoctor-include-ext | 0.4.0-2 | — |
| Debian 13 | ruby-asciidoctor-include-ext | 0.4.0-2 | — |
| Debian 12 | ruby-asciidoctor-include-ext | 0.4.0-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ruby-asciidoctor-include-ext | No fix yet | — |
| Ubuntu 25.10 | ruby-asciidoctor-include-ext | No fix yet | — |
| Ubuntu 22.04 LTS | ruby-asciidoctor-include-ext | No fix yet | — |
| Ubuntu 20.04 LTS | ruby-asciidoctor-include-ext | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | asciidoctor-include-ext | < 0.4.0 | 0.4.0 | GHSA-v222-6mr4-qj29 |