# GHSA-mpwp-4h2m-765c: Active Job - Object injection security vulnerability

> An object injection vulnerability in Active Job allows attackers to execute arbitrary code by manipulating serialized job arguments.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not stated
- **Attackable:** Not stated
- **Victim action needed:** Not stated
- **Fix available:** Yes
- **Published:** 16 Jan 2026

## What is GHSA-mpwp-4h2m-765c?

GHSA-mpwp-4h2m-765c is an unsafe deserialization vulnerability in activejob, published on 16 Jan 2026. 

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

## Which versions are affected by GHSA-mpwp-4h2m-765c?

2 open source packages ship an affected version, including activejob.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `activejob` | RubyGems | All versions | 4.2.0.beta2 |
| `activejob` | RubyGems | All versions | 4.2.0.beta2 |

## How do I fix GHSA-mpwp-4h2m-765c?

Upgrade activejob to 4.2.0.beta2 or later.

## Is GHSA-mpwp-4h2m-765c being exploited?

There is no known exploitation of GHSA-mpwp-4h2m-765c in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-mpwp-4h2m-765c and fix it if it is affected.

What it is: GHSA-mpwp-4h2m-765c is an unsafe deserialization vulnerability in activejob, published on 16 Jan 2026. 
Exploitation: There is no known exploitation of GHSA-mpwp-4h2m-765c in the wild and no public exploit code.

Affected packages and fixed versions:
- activejob (RubyGems): affected all versions; fixed in 4.2.0.beta2
- activejob (RubyGems): affected all versions; fixed in 4.2.0.beta2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-mpwp-4h2m-765c/ (Markdown: https://insights.sbomify.com/GHSA-mpwp-4h2m-765c/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-mpwp-4h2m-765c

---
From sbomify Insights: https://insights.sbomify.com/GHSA-mpwp-4h2m-765c/
Summaries are generated and may contain mistakes; the official description above is the record.
