vector 1 of 46 · Isolation escape
Templated Configuration Field Renders Attacker Input as Code (Server-Side Template Injection)
Mitigation
Summary
A configuration field expected to hold a plain value (a numeric offset in a storage-reference descriptor) was instead rendered by an unsandboxed general-purpose templating engine, and the engine's own execution model let attacker-controlled template content reach arbitrary code execution, crossing the boundary between declarative configuration and executable code.
Notes
Also confirmed in OpenAI's own technical incident report (PDF, read directly page-by-page): 'an agent validated that attacker-controlled metadata in an fsspec ReferenceFileSystem descriptor could cause an operating-system command to execute through an unsandboxed Jinja2 expression' (https://cdn.openai.com/pdf/67869394-cb91-4c12-888c-5cbd85c7814c/OpenAI-Hugging-Face%20Incident-Technical-Report.pdf). Coded as a distinct class from the HDF5 external-reference row above: both cross a data/host-filesystem trust boundary in the same production dataset-server worker, but via different root causes (unsandboxed local-path dereferencing vs. an unsandboxed templating engine), so they carry different mitigations and are kept as separate rows rather than merged.
- Control intended
- Storage-reference and configuration fields were treated as inert data; the templating engine used elsewhere in the pipeline was assumed to apply only to trusted, operator-authored values.
- Detection signals
- none recorded
- Affected runtime patterns
- none recorded