Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions gems/erb/CVE-2026-41316.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ related:
url:
- https://nvd.nist.gov/vuln/detail/CVE-2026-41316
- https://www.ruby-lang.org/en/news/2026/07/16/ruby-3-3-12-released
- https://www.ruby-lang.org/en/news/2026/06/30/ruby-3-4-10-released
- https://www.ruby-lang.org/en/news/2026/04/21/ruby-4-0-3-released
- https://www.ruby-lang.org/en/news/2026/04/21/erb-cve-2026-41316
- https://github.com/ruby/erb/blob/master/NEWS.md
- https://github.com/ruby/erb/commit/9d017be4e375cdd058650ce528ee6adfead20cac
- https://github.com/ruby/ruby/pull/16776
- https://github.com/ruby/ruby/pull/16777
- https://github.com/advisories/GHSA-q339-8rmv-2mhv
9 changes: 7 additions & 2 deletions rubies/ruby/CVE-2026-41316.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,21 @@ description: |
arbitrary code. In particular, def_module takes no arguments, making
it straightforward to invoke as part of a deserialization gadget chain.

Please update to Ruby 4.0.3 which "only contains ERB 6.0.1.1,
which fixes CVE-2026-41316."
Please update to Ruby 3.3.12, 3.4.10, 4.0.3 or later.
cvss_v3: 8.1
patched_versions:
- "~> 3.3.12"
- "~> 3.4.10"
- ">= 4.0.3"
related:
url:
- https://nvd.nist.gov/vuln/detail/CVE-2026-41316
- https://www.ruby-lang.org/en/news/2026/07/16/ruby-3-3-12-released
- https://www.ruby-lang.org/en/news/2026/06/30/ruby-3-4-10-released
- https://www.ruby-lang.org/en/news/2026/04/21/ruby-4-0-3-released
- https://www.ruby-lang.org/en/news/2026/04/21/erb-cve-2026-41316
- https://github.com/ruby/erb/blob/master/NEWS.md
- https://github.com/ruby/erb/commit/9d017be4e375cdd058650ce528ee6adfead20cac
- https://github.com/ruby/ruby/pull/16776
- https://github.com/ruby/ruby/pull/16777
- https://github.com/advisories/GHSA-q339-8rmv-2mhv