Summary
Yeti's DFIQ archive export flow uses a UUID from imported YAML to build a filesystem path without validating it. A low-privileged authenticated user who can import a DFIQ object and trigger its export may cause attacker-controlled YAML content to be written outside the intended temporary archive directory, wherever the YETI service account has write access.
Yeti's DFIQ archive export flow uses a UUID from imported YAML to build a filesystem path without validating it. A low-privileged authenticated user who can import a DFIQ object and trigger its export may cause attacker-controlled YAML content to be written outside the intended temporary archive directory, wherever the YETI service account has write access.
Affected context
The issue occurs in Yeti's DFIQ YAML import and archive export flow. The import endpoint accepts a UUID without validation, and the export endpoint later uses that stored value when constructing an archive filesystem path. The resulting file write is limited to locations writable by the YETI service account. The separate archive-import zip-slip issue is not part of this vulnerability.
The issue occurs in Yeti's DFIQ YAML import and archive export flow. The import endpoint accepts a UUID without validation, and the export endpoint later uses that stored value when constructing an archive filesystem path. The resulting file write is limited to locations writable by the YETI service account. The separate archive-import zip-slip issue is not part of this vulnerability.
Exploit preconditions
- Attack surface: Authenticated DFIQ YAML import and archive export API endpoints
- Required access: A low-privileged authenticated account able to import a DFIQ object and request its archive export
- Trigger point: Exporting an object whose imported UUID is used to construct the archive path
- Why exploitation is possible: The UUID is not validated before it is interpolated into a filesystem path, allowing traversal sequences to affect the destination
- Attack surface: Authenticated DFIQ YAML import and archive export API endpoints
- Required access: A low-privileged authenticated account able to import a DFIQ object and request its archive export
- Trigger point: Exporting an object whose imported UUID is used to construct the archive path
- Why exploitation is possible: The UUID is not validated before it is interpolated into a filesystem path, allowing traversal sequences to affect the destination
Why this happens
The application treats a UUID supplied in imported YAML as a trusted path component. When that value is interpolated into an archive path without strict validation or containment checks, traversal sequences can direct the write outside the intended directory. This is a path traversal weakness mapped to CWE-22: Improper Limitation of a Pathname to a Restricted Directory.
The application treats a UUID supplied in imported YAML as a trusted path component. When that value is interpolated into an archive path without strict validation or containment checks, traversal sequences can direct the write outside the intended directory. This is a path traversal weakness mapped to CWE-22: Improper Limitation of a Pathname to a Restricted Directory.
Potential impact
- Attacker-controlled content may be written with a
.yamlsuffix outside the intended temporary archive directory - Files accessible for writing by the YETI service account could be altered or created
- Application behavior or data integrity may be affected, depending on the writable paths
- Broader system impact could occur if sensitive or operational files are writable by the service account
- Attacker-controlled content may be written with a
.yamlsuffix outside the intended temporary archive directory - Files accessible for writing by the YETI service account could be altered or created
- Application behavior or data integrity may be affected, depending on the writable paths
- Broader system impact could occur if sensitive or operational files are writable by the service account
General mitigation guidance
Defensive patterns focus on preventing user-controlled values from determining filesystem destinations.
- Parse UUIDs with a strict, format-specific validator or generate identifiers on the server
- Prefer fixed, application-controlled filenames and directories over paths derived from imported data
- Resolve candidate paths and verify they remain within an explicitly permitted directory before writing
- Reject traversal components and fail closed when identifiers or paths are malformed
- Run the service with only the filesystem permissions required for its tasks
- Keep temporary archive locations isolated and restrict their write access
Defensive patterns focus on preventing user-controlled values from determining filesystem destinations.
- Parse UUIDs with a strict, format-specific validator or generate identifiers on the server
- Prefer fixed, application-controlled filenames and directories over paths derived from imported data
- Resolve candidate paths and verify they remain within an explicitly permitted directory before writing
- Reject traversal components and fail closed when identifiers or paths are malformed
- Run the service with only the filesystem permissions required for its tasks
- Keep temporary archive locations isolated and restrict their write access
How teams detect issues like this
- Use static analysis to identify user-controlled values interpolated into filesystem paths or passed to file-writing APIs
- Review import and export flows for validation that occurs after path construction rather than before it
- Apply code-review checks requiring path containment validation for writes based on external input
- Monitor for unexpected
.yamlfiles or file changes outside designated archive directories - Enforce policies that limit service-account write access to approved locations
- Use static analysis to identify user-controlled values interpolated into filesystem paths or passed to file-writing APIs
- Review import and export flows for validation that occurs after path construction rather than before it
- Apply code-review checks requiring path containment validation for writes based on external input
- Monitor for unexpected
.yamlfiles or file changes outside designated archive directories - Enforce policies that limit service-account write access to approved locations

