We have a central repo where we store common tasks and pipelines.
The pipelines reference tasks via relative imports.
apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
name: test-pipeline
annotations:
pipelinesascode.tekton.dev/task: "../../common/tasks/task.yaml"
spec:
Since 1.20.3 this now fails in a PipelineRun in Repo B with the following error:
There was an issue validating the commit: "error getting remote task from pipelinerun annotations: error getting remote task "../../common/tasks/task.yaml": path must not contain '..' due to auth vulnerability issue"
Note that it still works when referencing it from Repo A.
This looks like a regression and is now breaking all CI in our central pipeline repo.