github.com/siderolabs/omni
Affected
- introduced
0, fixed1.6.6(semver)
Fixed versions
1.6.6
Fix
- Fixed version
1.6.6go get github.com/siderolabs/[email protected]
Advisory
Also known as: CVE-2026-45723, GO-2026-5316
Omni: Operator can traverse image-factory API paths via unsanitized talos_version in CreateSchematic
Summary
managementServer.CreateSchematic (internal/backend/grpc/schematics.go) passes the caller-controlled TalosVersion field directly to imageFactoryClient.OverlaysVersions, which embeds it verbatim into a fmt.Sprintf("/version/%s/overlays/official", talosVersion) path template. url.URL.JoinPath resolves any ../ sequences in that path, allowing an authenticated Operator to rewrite the URL path and force Omni to issue HTTP GET requests to unintended paths on the configured image-factory server. Error body content from those unintended endpoints is returned to the caller.
Severity
CreateSchematic API endpoint.role.Operator is required, which has administrative capabilities on Omni.Impact
../ prefixes in talosVersion, the attacker can reach any path hierarchy on the image-factory host.Credit
This vulnerability was discovered and reported by bugbunny.ai.
Low Basis: The source's own band: LOW
0, fixed 1.6.6 (semver)1.6.6
1.6.6go get github.com/siderolabs/[email protected]1.7.0, fixed 1.7.3 (semver)1.7.3
1.7.3go get github.com/siderolabs/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0