Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. verl
  4. ›
  5. CVE-2026-6878

CVE-2026-6878: verl's math_equal() Vulnerable to Arbitrary Code Execution via Unsafe eval()

April 23, 2026 (updated April 30, 2026)

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 →

Affected versions

All versions up to 0.7.1

Solution

Unfortunately, there is no solution available yet.

Impact 5.6 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Source file

pypi/verl/CVE-2026-6878.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:57 +0000.