Advisory

PYSEC-2026-3402

Also known as: 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.

Severity

Medium Basis: CVSS v3 score 5.6, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2026-07-13 15:02 UTC
Modified
2026-07-13 16:33 UTC

Affected packages and fixes

verl

PyPI · All systems

Affected

  • introduced 0, last affected 0.7.1 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences