GHSA-mpwp-4h2m-765c: Activejob Active Job - Object Injection Vulnerability
MODERATEGHSA-mpwp-4h2m-765c is a MODERATE active job - object injection vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Activejob libraries in the RubyGems ecosystem. The issue involves active job - object injection security vulnerability. Remediation is available by upgrading affected packages to version 4.2.0.beta2.
GHSA-mpwp-4h2m-765c at a Glance
How to Fix GHSA-mpwp-4h2m-765c
To remediate this vulnerability, upgrade all affected Activejob dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade activejob to 4.2.0.beta2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for activejob
How to Check if You Are Affected
To determine whether your application is affected by GHSA-mpwp-4h2m-765c, inspect your project dependencies for Activejob:
inspect dependencies for activejob
Analyze the terminal output to locate any version of Activejob in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.0.beta2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In Activejob, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-mpwp-4h2m-765c Affected Activejob Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
activejob
|
RubyGems |
< 4.2.0.beta2
|
4.2.0.beta2
|
References
Frequently Asked Questions
What is GHSA-mpwp-4h2m-765c?
Which Activejob versions are affected?
What version fixes GHSA-mpwp-4h2m-765c?
Is activejob affected?
What CWE is associated with GHSA-mpwp-4h2m-765c?
How can I check RubyGems dependencies for GHSA-mpwp-4h2m-765c?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mpwp-4h2m-765c",
"modified" : "2026-01-20T21:03:33Z",
"published" : "2026-01-16T19:21:54Z",
"aliases" : [ ],
"summary" : "Active Job - Object injection security vulnerability",
"details" : "Active Job vulnerability: An Active Job bug allowed String arguments to be deserialized as if they were Global IDs, an object injection security vulnerability.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "activejob"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.2.0.beta2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://advisories.gitlab.com/pkg/gem/activejob/OSVDB-112347"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rails/rails"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activejob/GHSA-mpwp-4h2m-765c.yml"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activejob/OSVDB-112347.yml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-16T19:21:54Z",
"nvd_published_at" : null
}
}