GHSA-h57c-v2v3-5v3v
verl's math_equal() Vulnerable to Arbitrary Code Execution via Unsafe eval()
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- 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