Government Rails Site Hit Hours After CVE Patch
1–10 of 41 posts
Re: Government Rails Site Hit Hours After CVE Patch
#2Re: Government Rails Site Hit Hours After CVE Patch
#3Re: Government Rails Site Hit Hours After CVE Patch
#4i thought cloudflare would protect against those no?
Re: Government Rails Site Hit Hours After CVE Patch
#5i thought cloudflare would protect against those no?
Re: Government Rails Site Hit Hours After CVE Patch
#6Do you have to have matlab running on your rails server for this to happen?
Re: Government Rails Site Hit Hours After CVE Patch
#7Do you have to have matlab running on your rails server for this to happen?
I am not sure, but my read on the original disclosure is no. libvips itself has a variant processor for matlab v5 files, which the exploit took advantage of.
vips -l
VipsForeignLoadMat (matload), load mat from file (.mat), priority=0, untrusted, is_a, get_flags, get_flags_filename, header, loadRe: Government Rails Site Hit Hours After CVE Patch
#8Do you have to have matlab running on your rails server for this to happen?
bin/rails runner '
require "vips"
puts "ruby-vips #{Vips::VERSION} libvips #{Vips.version(0)}.#{Vips.version(1)}.#{Vips.version(2)}"
begin
Vips::Operation.new("matload")
puts "matload PRESENT - this build can reach libmatio"
rescue Vips::Error
puts "matload ABSENT - this build cannot reach libmatio"
end
'
This is from the Rails official docs for the CVE which, interestingly, they only released as an agent skill. https://github.com/rails/rails-forensics-CVE-2026-66066/blob...Re: Government Rails Site Hit Hours After CVE Patch
#9Earlier quoted context omitted.
I am not sure, but my read on the original disclosure is no. libvips itself has a variant processor for matlab v5 files, which the exploit took advantage of.
libvips also have a block_untrusted mode where it will block unsafe loaders, .mat seems to be marked as untrusted: vips -l VipsForeignLoadMat (matload), load mat from file (.mat), priority=0, untrusted, is_a, get_flags, get_flags_filename, header, load
Re: Government Rails Site Hit Hours After CVE Patch
#10Do you have to have matlab running on your rails server for this to happen?