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

- Severity: Medium 4.8 (CVSS:4.0, scored by CERT-PL) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-02)
- Published: 2025-06-20T10:01:42.561Z
- Modified: 2026-06-17T09:47:33.350Z
- Weaknesses: CWE-276
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

## 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

(As written by CVE List.)

## Affected

- Core.ai Phoenix Code: up to 4.0.3

## References

- <https://cert.pl/en/posts/2025/06/tcc-bypass/> (third-party-advisory)
- <https://phcode.dev/> (product)
- <https://github.com/phcode-dev/phoenix-desktop/commit/ab5d5ffd04fbbab770c1ef6250cd0ec5323289c2> (patch)

## Sources

- CVE List: [CVE-2025-5255](https://www.cve.org/CVERecord?id=CVE-2025-5255), CVE Terms of Use, modified 2026-01-21
- NVD: [CVE-2025-5255](https://nvd.nist.gov/vuln/detail/CVE-2025-5255), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5255 · Whole record: https://cve.day/CVE-2025-5255.json · Rebuilt by cve.day 2026-11-25T22:58:59.425Z
