verl's math_equal() Vulnerable to Arbitrary Code Execution via Unsafe eval()
A vulnerability was identified in ByteDance verl up to 0.7.1. Affected is the function math_equal of the file prime_math/grader.py. The manipulation leads to a sandbox issue. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit is publicly available and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | verl | <= 0.7.1 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-6878
- https://github.com/verl-project/verl
- https://github.com/verl-project/verl/blob/v0.7.1/verl/utils/reward_score/prime_math/grader.py
- https://github.com/zast-ai/vulnerability-reports/blob/main/bytedance/verl_rce.md
- https://vuldb.com/submit/795257
- https://vuldb.com/vuln/359040
- https://vuldb.com/vuln/359040/cti
- https://pypi.org/project/verl
- https://github.com/advisories/GHSA-h57c-v2v3-5v3v
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-95- Platform
- Python (PyPI)
- Package
verl- Disclosed
- 23.04.2026
- Updated
- 11.10.2026 14:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-3402 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-h57c-v2v3-5v3v - CC BY 4.0
Vulnerability history: verl
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.