[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fx9NQ6hhPHyoDLUdt68ZtRfmjABJqdFkjSlbHn0NLMLM":3},{"article":4,"iocs":45,"iocs_total":50,"watch_terms":51,"solutions":52,"lesson":142},{"id":5,"title":6,"slug":7,"summary":8,"ai_summary":9,"brief":10,"url":11,"image_url":12,"published_at":13,"ingested_at":14,"relevance_score":15,"entities":16,"category_id":27,"category":28,"article_tags":32},"52992fac-5367-46c8-a166-6b5100ea192d","Critical Ruby on Rails Flaw Could Let Hackers Steal Server Secrets Through Malicious Image Uploads","critical-ruby-on-rails-flaw-could-let-hackers-steal-server-secrets-through-malic-1f0388","A critical flaw in Ruby on Rails Active Storage lets an unauthenticated user upload a crafted image and make the server write files. If uploads use the Disk service, the same upload can make the server read files too. The Rails team rated the bug Critical, with a CVSS score of 9.8, and published the […] The post Critical Ruby on Rails Flaw Could Let Hackers Steal Server Secrets Through Malicious Image Uploads appeared first on Cyber Security News.","A critical vulnerability in Ruby on Rails Active Storage, rated CVSS 9.8, allows unauthenticated attackers to upload specially crafted images. This can lead to the server writing arbitrary files and, if using the Disk service, reading sensitive files like secret keys. The flaw stems from ImageMagick's handling of file formats and coders, which Active Storage did not sufficiently restrict.","Critical Ruby on Rails flaw allows unauthenticated users to upload crafted images and steal server secrets.","https:\u002F\u002Fcybersecuritynews.com\u002Fcritical-ruby-on-rails-flaw\u002F","https:\u002F\u002Fcybersecuritynews.com\u002Fwp-content\u002Fuploads\u002F2026\u002F11\u002FCritical-Ruby-on-Rails-Flaw.webp","2026-11-04T17:01:17+00:00","2026-11-04T18:00:34.495747+00:00",9,[17,20,23,25],{"name":18,"type":19},"Active Storage","product",{"name":21,"type":22},"ImageMagick","technology",{"name":24,"type":19},"Ruby on Rails",{"name":26,"type":19},"Mini_magick","80544778-fabb-4dcd-aa35-17492e5dcf4f",{"id":27,"icon":29,"name":30,"slug":31},null,"Vulnerabilities","vulnerabilities",[33,38,40],{"category":34},{"id":35,"icon":29,"name":36,"slug":37},"26b0b636-0e31-4db1-bffb-61bdf9f20a58","Supply Chain","supply-chain",{"category":39},{"id":27,"icon":29,"name":30,"slug":31},{"category":41},{"id":42,"icon":29,"name":43,"slug":44},"e7b231c8-5f79-4465-8d38-1ef13aea5a14","Threat Intelligence","threat-intelligence",[46],{"type":47,"value":48,"context":49},"cve","CVE-2026-66066","Previously disclosed Rails Active Storage flaw affecting apps using libvips.",1,[18,24,26],{"controls":53,"vendors":141},[54,83,112],{"slug":55,"name":56,"problem":57,"products":58},"vulnerability-management","Vulnerability scanning and prioritisation","You know which systems are vulnerable, and which ones to fix first.",[59,67,75],{"vendor_slug":60,"vendor_name":61,"vendor_logo":62,"product_slug":63,"product_name":64,"url":65,"description":66},"rapid7","Rapid7","\u002Fvendor-logos\u002Frapid7.png","insightvm","Rapid7 Exposure Command (InsightVM)","https:\u002F\u002Fwww.rapid7.com\u002Fproducts\u002Finsightvm\u002F","Vulnerability scanning and risk-based prioritisation; InsightVM is now part of Exposure Command, alongside attack surface and cloud risk.",{"vendor_slug":68,"vendor_name":69,"vendor_logo":70,"product_slug":71,"product_name":72,"url":73,"description":74},"axonius","Axonius","\u002Fvendor-logos\u002Faxonius.png","axonius-exposures","Axonius Exposures","https:\u002F\u002Fwww.axonius.com\u002Fplatform\u002Fexposures","Brings findings from different scanners together with asset and business context, to show what matters most and track fixes to the end.",{"vendor_slug":76,"vendor_name":77,"vendor_logo":78,"product_slug":79,"product_name":80,"url":81,"description":82},"tenable","Tenable","\u002Fvendor-logos\u002Ftenable.png","tenable-vulnerability-management","Tenable Vulnerability Management","https:\u002F\u002Fwww.tenable.com\u002Fproducts\u002Fvulnerability-management","Cloud-based vulnerability scanning and prioritisation, built on Nessus.",{"slug":84,"name":85,"problem":86,"products":87},"patch-management","Automated patch management","Known holes get closed in days, not months.",[88,96,104],{"vendor_slug":89,"vendor_name":90,"vendor_logo":91,"product_slug":92,"product_name":93,"url":94,"description":95},"microsoft","Microsoft","\u002Fvendor-logos\u002Fmicrosoft.png","intune","Microsoft Intune","https:\u002F\u002Fwww.microsoft.com\u002Fen-us\u002Fsecurity\u002Fbusiness\u002Fmicrosoft-intune","Device management for Windows, macOS, iOS and Android, including update rings and compliance policies.",{"vendor_slug":97,"vendor_name":98,"vendor_logo":99,"product_slug":100,"product_name":101,"url":102,"description":103},"ivanti","Ivanti","\u002Fvendor-logos\u002Fivanti.png","neurons-patch-management","Ivanti Neurons for Patch Management","https:\u002F\u002Fwww.ivanti.com\u002Fproducts\u002Fivanti-neurons-for-patch-management","Risk-based patch management for operating systems and third-party applications.",{"vendor_slug":105,"vendor_name":106,"vendor_logo":107,"product_slug":108,"product_name":109,"url":110,"description":111},"action1","Action1","\u002Fvendor-logos\u002Faction1.png","action1-patch-management","Action1 Patch Management","https:\u002F\u002Fwww.action1.com\u002F","Cloud-native patch management for Windows, macOS and third-party applications.",{"slug":113,"name":114,"problem":115,"products":116},"endpoint-detection-response","Endpoint detection and response (EDR and XDR)","Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.",[117,125,133],{"vendor_slug":118,"vendor_name":119,"vendor_logo":120,"product_slug":121,"product_name":122,"url":123,"description":124},"withsecure","WithSecure","\u002Fvendor-logos\u002Fwithsecure.png","elements-xdr","WithSecure Elements XDR","https:\u002F\u002Fwww.withsecure.com\u002Fen\u002Ffor-business\u002Fplatform\u002Fxdr\u002F","Endpoint detection and response with extended detection, on the Elements cloud platform.",{"vendor_slug":126,"vendor_name":127,"vendor_logo":128,"product_slug":129,"product_name":130,"url":131,"description":132},"bitdefender","Bitdefender","\u002Fvendor-logos\u002Fbitdefender.png","gravityzone","GravityZone","https:\u002F\u002Fwww.bitdefender.com\u002Fen-us\u002Fbusiness\u002Fgravityzone-platform\u002F","Endpoint protection, detection and response platform.",{"vendor_slug":134,"vendor_name":135,"vendor_logo":136,"product_slug":137,"product_name":138,"url":139,"description":140},"elastic","Elastic","\u002Fvendor-logos\u002Felastic.png","elastic-security","Elastic Security","https:\u002F\u002Fwww.elastic.co\u002Fsecurity","SIEM and endpoint security built on Elasticsearch, with open detection rules.",[],{"slug":143,"title":144,"body":145,"framework_refs":146,"framework_notes":154},"critical-rails-active-storage-flaw-enables-file-read-via-malicious-image-uploads","Critical Rails Active Storage Flaw Enables File Read via Malicious Image Uploads","A CVSS 9.8 vulnerability in Ruby on Rails Active Storage allowed unauthenticated attackers to upload specially crafted images that exploited ImageMagick's handling of file formats and coders, ultimately enabling arbitrary file writes and reads of sensitive server files including secret keys. The root failure was twofold: Active Storage did not sufficiently restrict the file format handlers that ImageMagick was permitted to invoke, and organizations running unpatched versions remained exposed to a fully unauthenticated attack path. This matters because secret key theft can lead to full application compromise—attackers can forge session tokens, decrypt sensitive data, or pivot to deeper infrastructure access. The incident illustrates how third-party library integrations (ImageMagick) can silently expand an application's attack surface when not explicitly configured with least-privilege constraints.",[147,148,149,150,151,152,153],"CIS Control 7: Continuous Vulnerability Management","NIST SP 800-53 SI-2: Flaw Remediation","OWASP A06:2021 Vulnerable and Outdated Components","ISO\u002FIEC 27001:2022 A.8.8: Management of technical vulnerabilities","NIST CSF 2.0 PR.AA: Identity Management, Authentication, and Access Control","PCI DSS Requirement 6","NIS2 Article 21(2)(b)",{"NIS2 Article 21(2)(b)":155,"PCI DSS Requirement 6":156,"NIST SP 800-53 SI-2: Flaw Remediation":157,"OWASP A06:2021 Vulnerable and Outdated Components":158,"CIS Control 7: Continuous Vulnerability Management":159,"ISO\u002FIEC 27001:2022 A.8.8: Management of technical vulnerabilities":160,"NIST CSF 2.0 PR.AA: Identity Management, Authentication, and Access Control":161},"NIS2 requires entities to implement measures for incident handling and vulnerability management; the unpatched critical flaw in a public-facing application represents a failure to meet the baseline security hygiene obligations imposed by this article.","Requirement 6 mandates that organizations protect systems and software from known vulnerabilities through patching and secure development practices, which would have required the Rails flaw to be remediated within defined timelines given its critical severity.","SI-2 requires organizations to identify, report, and correct information system flaws; had a formal flaw remediation process been in place, the Rails Active Storage patch would have been applied before unauthenticated exploitation was possible.","This vulnerability stems directly from using an insufficiently restricted version of Active Storage with a dangerous ImageMagick integration—exactly the scenario A06 addresses when third-party components expand the attack surface without proper vetting.","Regular scanning would have flagged the unpatched CVSS 9.8 Rails vulnerability, and a defined patching SLA for critical flaws would have driven timely remediation before attackers could exploit it.","A.8.8 requires organizations to obtain timely information about technical vulnerabilities and take appropriate action; applying this control would have ensured the critical Rails flaw was tracked and patched promptly.","The vulnerability was exploitable by unauthenticated attackers; enforcing access controls on file upload endpoints and restricting which services can write to sensitive directories aligns with this control's intent to limit unauthorized access."]