CVE-2026-124501 · Package
NO FIX YET
Moto is a Python library that mocks AWS services for tests. A flaw in its AWS Batch emulation lets a crafted privileged or volumes argument escalate privileges, and a public exploit exists.
first public Nov 9, 2026 · 2 sources
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Teams that use moto up to 5.2.4 to mock AWS Batch in tests or local tooling, especially where job definitions come from untrusted input. Projects that do not use moto's Batch emulation or that pin a newer version can skip it. The sources do not state the exact trigger conditions.
Not affected if batch-not-mocked, moto-above-5.2.4, moto-not-used
Who cares aws-batch, moto, python, testing
No fix yet, per the sources.
A weakness has been identified in Tidelift moto up to 5.2.4. Affected is an unknown function of the file moto/batch/models.py of the component AWS Batch Emulation. This manipulation of the argument privileged/volumes causes improper privilege management. Remote exploitation of the attack is possible. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.