Hot Cell: Securing Active Storage in the age of AI
summary
A chain of seven small bugs in image tooling lets crafted uploads trick libvips into invoking untrusted libraries and leaking container files and Rails secrets, scored as CVE-2026-66066 with a 9.5 CVSS impact; exploits appear within an hour of disclosure. The practical fix is isolating transforms into a constrained sandbox so the app never exposes its filesystem or env to image processors, implemented here as the hotell system mediating Active Storage via libvips isolation.
AI-written summary · about
chapters (10)
- 0:00Introduction and shift to security
- 2:12AI-driven security chaos
- 7:56CVE 2026 66066 details
- 11:29Reducing blast radius
- 12:12Hot Cell concept and requirements
- 15:01System design and Unix sockets
- 17:52Implementation and deployment
- 21:42Performance and flexibility
- 23:49Rollout challenges and lessons
- 25:13Call to action and optimism
