id: PYSEC-2026-3402 published: "2026-07-13T15:02:52.839365Z" modified: "2026-07-13T16:07:25.523021Z" aliases: - CVE-2026-6878 - GHSA-h57c-v2v3-5v3v summary: verl's math_equal() Vulnerable to Arbitrary Code Execution via Unsafe eval() details: 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: - package: name: verl ecosystem: PyPI purl: pkg:pypi/verl ranges: - type: ECOSYSTEM events: - introduced: "0" - last_affected: 0.7.1 versions: - "0.1" - 0.1rc0 - 0.1rc2 - "0.2" - 0.2.0.post1 - 0.2.0.post2 - 0.3.0.post0 - 0.3.0.post1 - 0.4.0 - 0.4.1 - 0.5.0 - 0.6.0 - 0.6.1 - 0.7.0 - 0.7.1 references: - type: ADVISORY url: https://nvd.nist.gov/vuln/detail/CVE-2026-6878 - type: PACKAGE url: https://github.com/verl-project/verl - type: WEB url: https://github.com/verl-project/verl/blob/v0.7.1/verl/utils/reward_score/prime_math/grader.py - type: WEB url: https://github.com/zast-ai/vulnerability-reports/blob/main/bytedance/verl_rce.md - type: WEB url: https://vuldb.com/submit/795257 - type: WEB url: https://vuldb.com/vuln/359040 - type: WEB url: https://vuldb.com/vuln/359040/cti - type: PACKAGE url: https://pypi.org/project/verl - type: ADVISORY url: https://github.com/advisories/GHSA-h57c-v2v3-5v3v severity: - type: CVSS_V3 score: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - type: CVSS_V4 score: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P