CVE-2025-5255 TCC Bypass via Dylib Injection in Phoenix Code

Medium 4.8 Published Updated

Local attackers can bypass macOS TCC protections via dylib injection in Phoenix Code due to insecure entitlements, accessing previously granted resources.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-5255?

CVE-2025-5255 is a medium-severity vulnerability in Core.ai Phoenix Code, published on 20 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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

Weakness: CWE-276

Which versions are affected by CVE-2025-5255?

How do I fix CVE-2025-5255?

No fix has been published for CVE-2025-5255 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-5255 being exploited?

There is no known exploitation of CVE-2025-5255 in the wild and no public exploit code.

Sources

Also known as GHSA-m2wv-p5gg-25gq.

Is CVE-2025-5255 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free