CVE-2025-53623: Job Iteration API is vulnerable to OS Command Injection attack through its CsvEnumerator class
Impact There is an arbitrary code execution vulnerability in the CsvEnumerator class of the job-iteration repository. This vulnerability can be exploited by an attacker to execute arbitrary commands on the system where the application is running, potentially leading to unauthorized access, data leakage, or complete system compromise. Patches Issue is fixed in versions 1.11.0 and above.
Published Jul 14, 2025 · Updated Aug 20, 2025
Affected packages
job-iteration
- Ecosystem
- RubyGems
- Affected
- < 1.11
- Fixed in
- 1.11
- Check
bundle info job-iteration
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
There is an arbitrary code execution vulnerability in the CsvEnumerator class of the job-iteration repository. This vulnerability can be exploited by an attacker to execute arbitrary commands on the system where the application is running, potentially leading to unauthorized access, data leakage, or complete system compromise.
Patches
Issue is fixed in versions 1.11.0 and above.
Workarounds
Users can mitigate the risk by avoiding the use of untrusted input in the CsvEnumerator class and ensuring that any file paths are properly sanitized and validated before being passed to the class methods. Users should avoid calling count_of_rows_in_file on enumerators constructed with untrusted CSV filenames.
Credited to calysteon, yehuda-alt.
References
- https://github.com/Shopify/job-iteration/security/advisories/GHSA-6qjf-g333-pv38
- https://nvd.nist.gov/vuln/detail/CVE-2025-53623
- https://github.com/Shopify/job-iteration/pull/595
- https://github.com/Shopify/job-iteration/commit/1a7adfdd041105a5e45e774cadc6b973a292ba55
- https://github.com/Shopify/job-iteration/releases/tag/v1.11.0
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/job-iteration/CVE-2025-53623.yml
- https://github.com/advisories/GHSA-6qjf-g333-pv38
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
