The vulnerability is a path traversal weakness in the CreateSchematic gRPC API endpoint. An authenticated operator can supply a malicious TalosVersion string containing path traversal sequences (e.g., ../). This input is used to construct a URL to an image-factory server, allowing the attacker to make GET requests to arbitrary paths on that server.
The analysis of the provided patches confirms this. The commits 3e69e80802624bf322f16aa499d5eafca16d0025 and 9426c2cabccaa1d442bc8ebf28c16cae2d7c6ff7 introduce input validation in the getOverlay function, which is called by CreateSchematic. The TalosVersion is now parsed as a semantic version, which effectively mitigates the path traversal attack by rejecting invalid version strings. The vulnerable functions are managementServer.CreateSchematic, which is the public-facing API endpoint, and managementServer.getOverlay, which contains the logic that constructs the vulnerable URL path.