CVE-2025-4742 XU-YIJIE grpo-flat grpo_vanilla.py main deserialization

Medium 4.8 Published Updated

Local attackers can execute arbitrary code via unsafe deserialization in the main function of grpo_vanilla.py.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4742?

CVE-2025-4742 is a medium-severity unsafe deserialization vulnerability in XU-YIJIE grpo-flat, published on 16 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability classified as problematic has been found in XU-YIJIE grpo-flat up to 9024b43f091e2eb9bac65802b120c0b35f9ba856. Affected is the function main of the file grpo_vanilla.py. The manipulation leads to deserialization. Local access is required to approach this attack. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available.

Weakness: CWE-502, CWE-20

Which versions are affected by CVE-2025-4742?

How do I fix CVE-2025-4742?

No fix has been published for CVE-2025-4742 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2025-4742 being exploited?

There is no known exploitation of CVE-2025-4742 in the wild and no public exploit code.

Sources

Also known as GHSA-p9qv-6qqh-cc4q.

Is CVE-2025-4742 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free