CVE-2026-6878: verl's math_equal() Vulnerable to Arbitrary Code Execution via Unsafe eval()
(updated )
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
- github.com/advisories/GHSA-h57c-v2v3-5v3v
- github.com/verl-project/verl
- github.com/verl-project/verl/blob/v0.7.1/verl/utils/reward_score/prime_math/grader.py
- github.com/zast-ai/vulnerability-reports/blob/main/bytedance/verl_rce.md
- nvd.nist.gov/vuln/detail/CVE-2026-6878
- vuldb.com/submit/795257
- vuldb.com/vuln/359040
- vuldb.com/vuln/359040/cti
Code Behaviors & Features
Detect and mitigate CVE-2026-6878 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →