Validate application build path, stage and version fields
fix(security): validate application build path, stage and version fields
Validate application build path, stage and version fields2cd86b-fix-validate-application-build-path-stage-and-cve-2026-129989fixvalidate application build path stage version
Committed by Siumauricio
commit message
fix(security): validate application build path, stage and version fields
dockerfile, build paths, dockerContextPath, publishDirectory and
dropBuildPath must be safe relative paths (no spaces, leading '-' or
'..'); dockerBuildStage, railpackVersion and herokuVersion are
restricted to [a-zA-Z0-9._-]. They were interpolated unquoted into the
builder shell commands.Editor assessment
This commit patches CVE-2026-129989. Good field-by-field reasoning. The body states the validation contract - dockerfile, build paths, dockerContextPath, publishDirectory and dropBuildPath must be safe relative paths with no spaces, leading dash or dot-dot, while dockerBuildStage, railpackVersion and herokuVersion are restricted to a character class - then gives the reason: all of them were interpolated unquoted into builder shell commands. The subject lists four fields, which is honest but dense; the body does the real work.