Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Low severity, with a CVSS score of 1.9, published 7 May 2026.
- Which products and versions are affected?
- Apple Container <= 0.12.2; github.com/apple/container (Swift) <= 0.12.2.
- Is there a fix for This vulnerability?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is This vulnerability attacked?
- It is attacked with local access, in an operating system.
- Am I affected?
- Check whether you run Apple Container or github.com/apple/container (Swift) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A command injection vulnerability exists in Apple's 'container' utility (<= 0.12.2) within the 'container system dns create --localhost' command. The 'domainName' argument is passed unsanitized into the Packet Filter (pf) anchor file (/etc/pf.anchors/com.apple.container) as a comment. By including a newline character (\n) in the domain name, a local attacker can break out of the comment context and inject arbitrary pf directives (such as pass, block, or nat) with fully controlled source and destination IPs. This effectively bypasses sudo delegation where an administrator may have granted a user limited root access to manage DNS redirects. The vulnerability is caused by the DNSCreate component failing to call the existing isValidDomainName() validation function. A fix is available in version 0.12.3.
Affected products
- Apple container <= 0.12.2
Timeline
- 2026-04-30: disclosed: Initial disclosure to vendor
- 2026-05-07: advisory: GitHub Advisory published
- 2026-07-16: other: Advisory updated