{"action":"Upgrade net-imap to 0.4.24 or later.","affected":[{"fixed":"0.6.4","introduced":"0.6.0"},{"fixed":"0.5.14","introduced":"0.5.0"},{"fixed":"0.4.24","introduced":"0"}],"component":"net-imap","cve_ids":["CVE-2026-42257"],"ecosystem":"RubyGems","epss":0.00429,"exploited":false,"fixed_versions":["0.6.4","0.5.14","0.4.24"],"ghsa_id":"GHSA-hm49-wcqc-g2xg","id":"tcs_01M5KEKMWZWVVM14EFM9BVZPRT","modified_at":"2026-09-10T03:51:05.961176671Z","published_at":"2026-05-04T22:04:41Z","references":["https://osv.dev/vulnerability/GHSA-hm49-wcqc-g2xg","https://github.com/ruby/net-imap/security/advisories/GHSA-hm49-wcqc-g2xg","https://nvd.nist.gov/vuln/detail/CVE-2026-42257","https://github.com/ruby/net-imap/commit/0ec4fd351263e8b9a4f683713427827b7b1ad974","https://github.com/ruby/net-imap/commit/47c72186d272441878ca73c9499f66013829ca2f","https://github.com/ruby/net-imap/commit/6bf02aef7e0b5931010c36e377f79a71636b306b","https://github.com/ruby/net-imap/commit/a4f7649c3da77dec7631f03a037a478eb4330048","https://github.com/ruby/net-imap/commit/aec06996eb87a7e1bbcef1f9f8926e8add2b8c71","https://github.com/ruby/net-imap","https://github.com/ruby/net-imap/releases/tag/v0.4.24","https://github.com/ruby/net-imap/releases/tag/v0.5.14","https://github.com/ruby/net-imap/releases/tag/v0.6.4","https://github.com/rubysec/ruby-advisory-db/blob/master/gems/net-imap/CVE-2026-42257.yml"],"severity":{"label":"medium"},"sources":[{"source":"osv","source_id":"GHSA-hm49-wcqc-g2xg","url":"https://osv.dev/vulnerability/GHSA-hm49-wcqc-g2xg"}],"summary":"net-imap vulnerable to command Injection via \"raw\" arguments to multiple commands"}