CVE-2025-47271 OZI-Project/ozi-publish Code Injection vulnerability

Medium 6.3 Published Updated

A malicious actor can inject arbitrary code via branch names in the OZI-Project publish GitHub Action, leading to code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-47271?

CVE-2025-47271 is a medium-severity code injection vulnerability in OZI-Project publish, published on 12 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The OZI action is a GitHub Action that publishes releases to PyPI and mirror releases, signature bundles, and provenance in a tagged release. In versions 1.13.2 through 1.13.5, potentially untrusted data flows into PR creation logic. A malicious actor could construct a branch name that injects arbitrary code. This is patched in 1.13.6. As a workaround, one may downgrade to a version prior to 1.13.2.

Weakness: CWE-95, CWE-94, CWE-1116

Which versions are affected by CVE-2025-47271?

1 open source package ship an affected version, including OZI-Project/publish.

PackageAffectedFixed in
OZI-Project/publish GitHub ActionsFrom 1.13.21.13.6

How do I fix CVE-2025-47271?

Upgrade OZI-Project/publish to 1.13.6 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-47271 being exploited?

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

Sources

Also known as GHSA-2487-9f55-2vg9.

Is CVE-2025-47271 in your software?

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

Check your SBOMs for free