Research · 2 December 2026
CVE-2025-29903: what JetBrains library injection on macOS teaches us
By SKIDZ research team · 6 min read ·
CVE-2025-29903 is a published vulnerability found by Waleed Barakat of the SKIDZ research team. It describes dynamic library injection in JetBrains IDEs on macOS. The cause is inadequate validation of dynamically loaded libraries.
This post is about the class of flaw, not a walkthrough of an exploit. If you run Macs in an engineering team, the same ideas apply to every tool your developers install. We explain the flaw class, why developer machines are worth attacking, and what you can do this week.
What is CVE-2025-29903?
CVE-2025-29903 is a dynamic library injection flaw in JetBrains IDEs on macOS. The software did not validate the libraries it loads strictly enough, so a threat actor could get their own library loaded and run code with the same privileges as the targeted process. It affects macOS machines running any JetBrains IDE.
SKIDZ published the advisory after Waleed Barakat identified the issue. In the advisory we told JetBrains that strict library validation and restricted library paths are essential. Those two controls are the core of the fix for this whole family of problems.
The impact of this class is plain. Code that runs inside a trusted process inherits what that process can do. For an IDE that usually means access to source code, signing material, cloud credentials and the developer's shell environment. Check the vendor advisory for the current fixed versions and update.
- Class of flaw: dynamic library injection
- Target: JetBrains IDEs on macOS
- Cause: inadequate validation of dynamically loaded libraries
- Result: arbitrary code with the privileges of the target process
What is dynamic library injection on macOS?
Dynamic library injection means making a running program load a library the author never intended. On macOS, programs load shared libraries at startup or later, and if the program does not check where a library comes from or who signed it, an attacker who controls that path or setting can run their code inside the program.
Think of a library as a plug in that a program pulls in by name. If the program looks in a folder that other users or processes can write to, or accepts environment settings that change what it loads, the pulled in code is no longer the code the vendor shipped.
Injected code runs as the host process. It sees the same files, the same keychain prompts and the same network access. It also benefits from the trust the user already gave the application, such as permissions to folders, the camera or screen recording. That is why defenders care about it even when the attacker needs a foothold first.
- The attacker needs a way to influence what gets loaded, such as a writable path or a startup setting
- The injected code is not a separate program, so it is harder to spot in a process list
- Permissions granted to the application are inherited by the injected code
Why are developer tools a supply chain target?
Developer tools sit close to what attackers want: source code, build pipelines, secrets and production access. Compromising one engineer's IDE can reach a code repository, a package registry or a cloud account without touching the production network at all. That makes the developer laptop an efficient entry point into a supply chain.
IDEs are also trusted by default. They are allowed to run build tools, spawn shells, read the whole project folder and talk to many remote services.
Plug ins and helper libraries add more surface. Every extension an IDE loads is code that runs with the developer's rights. A flaw in how the IDE validates what it loads affects everyone who runs it.
- Source code and intellectual property sit on the machine
- Tokens for Git hosting, registries and cloud accounts are often cached locally
- A single compromised engineer may have write access to many repositories
How can macOS teams reduce this risk class?
Turn on the protections macOS already gives you and keep tools updated. Use the hardened runtime and library validation for apps you build, keep IDEs and plug ins patched, and make sure ordinary users cannot write to the folders an application loads libraries from. Then monitor for unexpected loads on developer machines.
For software you build or distribute, sign with the hardened runtime enabled. Do not grant entitlements that switch off library validation or allow environment variable overrides unless you have a documented need. When a vendor asks for them, ask why.
For machines you manage, treat developer tools like any other privileged software. Keep an inventory, apply updates quickly, and review who has write access to application folders and shared tool directories.
- Enable the hardened runtime and library validation on apps you build
- Avoid entitlements that disable library validation unless truly required
- Keep IDEs, plug ins and helper tools updated, and remove ones nobody uses
- Restrict who can write to the paths an application loads libraries from
- Use endpoint monitoring to alert on unsigned or unexpected library loads
- Separate developer secrets from the laptop where you can, with short lived tokens
How do you check your own developer machines?
Start with an inventory of the applications developers run, then inspect how each one is signed and what entitlements it carries. Look for apps without the hardened runtime, apps that disable library validation, and writable library paths. Test findings in a lab copy first, never on a live developer laptop.
macOS includes codesign, which prints the signing flags and entitlements of an application. A short script across your fleet can report which tools have the runtime flag and which ask for risky entitlements. File permission checks on application folders catch the writable path problem.
Treat the output as a list of questions, not a verdict.
- List installed IDEs, plug ins and helper binaries
- Record signing flags and entitlements for each
- Check folder permissions on application and tool directories
How does applied vulnerability research help?
Applied vulnerability research means skilled engineers analyse the software you depend on, find flaws before attackers do and report them responsibly. For you it can mean testing the internal tools and developer environment you rely on, and getting practical fixes. SKIDZ offers this as a service alongside its published CVE work.
SKIDZ engineers have authored published CVEs, including CVE-2025-29903, CVE-2024-55968 and CVE-2024-23538. That work comes from the same hands on testing we use on client engagements.
If you build software or depend on a few critical tools, a focused research engagement can be a better use of budget than a broad scan. We agree the scope with you first, and the engineers who scope the work also deliver it.
Frequently asked questions
What is CVE-2025-29903?
It is a dynamic library injection flaw in JetBrains IDEs on macOS, found by Waleed Barakat of SKIDZ. Inadequate validation of dynamically loaded libraries lets code run with the privileges of the target process. It affects macOS machines running any JetBrains IDE.
Am I affected if I use a JetBrains IDE on a Mac?
The advisory says macOS machines running any JetBrains IDE are affected. Check the JetBrains advisory for fixed versions, update your IDEs, and review who can write to the folders the IDE loads libraries from.
What did SKIDZ recommend to JetBrains?
SKIDZ advised strict library validation and restricted library paths. Together they make sure a program only loads libraries from trusted locations that carry the expected signature.
Does the hardened runtime stop library injection?
It raises the bar a lot, because it enforces checks on what a process can load and what settings it honours. It works best with library validation on and with unnecessary entitlements removed. It is one layer, so keep patching and monitoring too.
Can SKIDZ test our internal developer tools?
Yes. Our applied vulnerability research service analyses the software your team depends on. We agree the scope with you, work remotely by default, and come on site where the scope calls for it. Contact us in Arabic or English.
اقرأ هذه الصفحة بالعربية