Home

Description

The Phoenix Code's configuration on macOS, specifically the presence of entitlements: "com.apple.security.cs.allow-dyld-environment-variables" and "com.apple.security.cs.disable-library-validation" allows for Dynamic Library (Dylib) injection. A local attacker with unprivileged access can use environment variables like DYLD_INSERT_LIBRARIES to successfully inject code in application's context and bypass Transparency, Consent, and Control (TCC). Acquired resource access is limited to previously granted permissions by the user. Access to other resources beyond granted-permissions requires user interaction with a system prompt asking for permission. This issue was fixed in commit 0c75fb57f89d0b7d9b180026bc2624b7dcf807da

PUBLISHED Reserved 2025-05-27 | Published 2025-06-20 | Updated 2026-01-21 | Assigner CERT-PL




MEDIUM: 4.8CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-276 Incorrect Default Permissions

Product status

Default status
unaffected

Any version
affected

Credits

Karol Mazurek - Afine Team finder

References

cert.pl/en/posts/2025/06/tcc-bypass/ third-party-advisory

phcode.dev/ product

github.com/...ommit/ab5d5ffd04fbbab770c1ef6250cd0ec5323289c2 patch

cve.org (CVE-2025-5255)

nvd.nist.gov (CVE-2025-5255)

Download JSON