Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-103316 Overview
The macOS version of the DigiD app ships without Apple's Hardened Runtime protection enabled. This configuration gap allows a local process to inject an arbitrary dynamic library into the DigiD process using the DYLD_INSERT_LIBRARIES environment variable. An attacker who already has local user-level code execution can run arbitrary code inside the DigiD process context. The injected code inherits DigiD's entitlements, Keychain access, and cryptographic capabilities. This exposes authentication data and signing operations tied to the Dutch government identity service. The issue is tracked under CWE-269: Improper Privilege Management.
Critical Impact
A local attacker can inject code into the DigiD macOS app and gain access to DigiD identity data and cryptographic operations normally isolated from user processes.
Affected Products
- DigiD application for macOS (distributed via the Apple App Store)
- macOS builds of the app lacking the com.apple.security.cs.allow-dyld-environment-variables restriction enforced by Hardened Runtime
- Deployments where DigiD is installed on multi-user or shared macOS endpoints
Discovery Timeline
- Reported by Kun Peeks (@SwayZGl1tZyyy)
- 2026-10-13 - CVE-2026-103316 published to NVD
- 2026-10-14 - Last updated in NVD database
Technical Details for CVE-2026-103316
Vulnerability Analysis
macOS Hardened Runtime is an opt-in code-signing capability that blocks several classes of runtime tampering. When enabled, the dynamic linker dyld ignores environment variables such as DYLD_INSERT_LIBRARIES unless the target binary carries an explicit entitlement permitting them. The DigiD macOS binary is signed without Hardened Runtime, so dyld honors these variables at process start. A local attacker can set DYLD_INSERT_LIBRARIES to the path of a malicious dylib and launch DigiD. The dylib is mapped into DigiD's address space before main() executes. Code in the dylib runs with DigiD's identity, which includes access to its Keychain items, cryptographic key material, and any entitlements granted to the application.
Root Cause
The root cause is a missing security configuration in the application's code signature. The developer did not pass the --options runtime flag to codesign, leaving dyld environment-variable sanitization disabled. This maps to CWE-269: Improper Privilege Management, because the process retains access to privileged identity data while permitting untrusted code to load into it.
Attack Vector
Exploitation requires local, authenticated user access to the macOS system. The attacker places a malicious dylib in a user-writable path and exports DYLD_INSERT_LIBRARIES pointing to it, then launches the DigiD binary. The dylib executes inside DigiD's process and can read authentication tokens, invoke signing operations, and exfiltrate data over the attacker's channels. No user interaction with DigiD itself is required beyond process launch, and the attack does not need kernel or root privileges. See the Apple App Store listing for the affected distribution.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-103316
Indicators of Compromise
- Unexpected dylib files written to user-writable directories such as ~/Library, /tmp, or /Users/Shared shortly before DigiD launches
- Process executions where the DigiD binary is invoked with a non-empty DYLD_INSERT_LIBRARIES environment variable
- Child processes or outbound network connections originating from the DigiD process that do not match normal authentication flows
Detection Strategies
- Verify the DigiD binary's code signature with codesign -dv --verbose=4 /Applications/DigiD.app and alert when the flags field does not include runtime
- Monitor execve telemetry for the DigiD bundle identifier combined with DYLD_* environment variables
- Baseline the set of dylibs loaded into DigiD and alert on modules outside the signed bundle path
Monitoring Recommendations
- Collect endpoint process-creation and image-load events on all macOS hosts running DigiD and route them to a central analytics tier
- Track filesystem events that create or modify .dylib files in user-writable locations, correlating with subsequent DigiD launches
- Review Keychain access logs for the DigiD service identifier to spot unexpected read patterns following suspicious process activity
How to Mitigate CVE-2026-103316
Immediate Actions Required
- Inventory macOS endpoints running the DigiD app and prioritize those used on shared or multi-user systems
- Update DigiD to the latest version from the Apple App Store as soon as a Hardened Runtime signed build is released
- Restrict local user accounts on managed macOS devices to reduce the pool of principals able to stage a dylib and launch DigiD
Patch Information
At the time of publication, no fixed version is referenced in the NVD entry. The remediation is a rebuild of the DigiD macOS application signed with Hardened Runtime using codesign --options runtime, which instructs dyld to ignore DYLD_INSERT_LIBRARIES for the process. Monitor the Apple App Store listing for an updated build and verify the signature flags after installation.
Workarounds
- Remove the DigiD macOS app from endpoints where authentication can be performed on iOS or Android alternatives until a hardened build is published
- Enforce application allowlisting so that only trusted dylibs from signed bundle paths can be loaded by user processes
- Use mobile device management policy to block execution of unsigned binaries from user-writable paths on managed Macs
# Verify Hardened Runtime status on the installed DigiD app
codesign -dv --verbose=4 /Applications/DigiD.app 2>&1 | grep -E 'flags|Runtime'
# Expected output on a patched build includes:
# CodeDirectory ... flags=0x10000(runtime)
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

