Active Job - Object injection security vulnerabilityGHSA-mpwp-4h2m-765c
GHSA-mpwp-4h2m-765c is a remote code execution vulnerability in activejob. A fix is available for activejob — see the affected versions and patch details below.
Real-World Exposure
activejobReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.
Description
Active Job vulnerability: An Active Job bug allowed String arguments to be deserialized as if they were Global IDs, an object injection security vulnerability.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | activejob | all versions | 4.2.0.beta2bundle update activejob --conservative |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for activejob, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update activejob to 4.2.0.beta2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-mpwp-4h2m-765c is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Frequently Asked Questions
Is GHSA-mpwp-4h2m-765c in your dependencies?
Find it across RubyGems, including transitive dependencies.