CVE-2026-33748: high-severity vulnerability in moby buildkit
BuildKit Git URL subdir component can cause access to restricted files
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
BuildKit doesn't properly validate the subdir component in Git URLs, allowing attackers to access files outside the intended repository directory. This could expose sensitive files on the same filesystem during container builds.
Insufficient validation of Git URL fragment subdir components enables path traversal (CWE-22) and symlink following (CWE-59), allowing unauthorized file access beyond the repository root during build operations. The attack vector requires builds using Git URLs with subpath components; impact is limited to files on the same mounted filesystem.
In the same product, most dangerous first.