CVE-2026-6878

ByteDance verl grader.py math_equal sandbox

Published Apr 23, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was identified in ByteDance verl up to 0.7.0. Affected is the function math_equal of the file prime_math/grader.py. The manipulation leads to 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 might be used. The vendor was contacted early about this disclosure but did not respond in any way.

Analysis

AI-generated

Technical impact

In ByteDance verl, the math_equal function in prime_math/grader.py is vulnerable to a sandbox issue; the description indicates that remote attacks are possible. Based on the description, it is inferred that an attacker could potentially escape the sandbox and execute code beyond intended boundaries. This is a privilege escalation vulnerability (CWE‑264 and CWE‑265).

Affected Systems

ByteDance verl versions up to 0.7.0 are affected; the vulnerability resides in the prime_math/grader.py module. Any deployment using a 0.7.0 or earlier release must evaluate the risk.

Risk and Exploitability

The CVSS score of 6.3 indicates medium severity. The EPSS score of less than 1% suggests a low likelihood of widespread exploitation. However, the existence of a publicly available exploit and the remote nature of the attack raise concerns. It is inferred that the presence of an exploit may lower the effective barrier for skilled adversaries.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ByteDance verl to a version newer than 0.7.0 when available
  • Restrict the environment to run verl with minimal permissions and apply a hard‑coded sandbox to enforce least privilege
  • Implement network access controls to limit exposure of the vulnerable API endpoint
  • Monitor logs for anomalous calls to prime_math/grader.py

Generated by OpenCVE AI on April 28, 2026 at 20:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-h57c-v2v3-5v3v verl's math_equal() Vulnerable to Arbitrary Code Execution via Unsafe eval()
History
Type Values Removed Values Added
First Time appeared Bytedance
Bytedance verl
Vendors & Products Bytedance
Bytedance verl
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was identified in ByteDance verl up to 0.7.0. Affected is the function math_equal of the file prime_math/grader.py. The manipulation leads to 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 might be used. The vendor was contacted early about this disclosure but did not respond in any way.
Title ByteDance verl grader.py math_equal sandbox
Weaknesses CWE-264
CWE-265
References
Metrics cvssV2_0

{'score': 5.1, 'vector': 'AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.6, 'vector': 'CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.3, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Apr 23, 2026, 12:49 PM
Reserved
Apr 22, 2026, 6:22 PM
Status
Deferred
Published
Apr 23, 2026, 12:16 AM
Modified
Oct 26, 2026, 9:10 PM