CVE-2025-47271: OZI Project/publish OZI-Project/ozi-publish Code Injection Vulnerability Vulnerability
MODERATECVE-2025-47271 is a MODERATE ozi-project/ozi-publish code injection vulnerability vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting OZI Project/publish libraries in the GitHub Actions ecosystem. The issue involves ozi-project/ozi-publish code injection vulnerability. Remediation is available by upgrading affected packages to version 1.13.6.
CVE-2025-47271 at a Glance
How to Fix CVE-2025-47271
To remediate this vulnerability, upgrade all affected OZI Project/publish dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade OZI-Project/publish to 1.13.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for OZI-Project/publish
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-47271, inspect your project dependencies for OZI Project/publish:
inspect dependencies for OZI-Project/publish
Analyze the terminal output to locate any version of OZI Project/publish in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.13.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In OZI Project/publish, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-47271 Affected OZI Project/publish Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
OZI-Project/publish
|
GitHub Actions |
≥ 1.13.2
< 1.13.6
|
1.13.6
|
References
Frequently Asked Questions
What is CVE-2025-47271?
Which OZI Project/publish versions are affected?
What version fixes CVE-2025-47271?
Is OZI-Project/publish affected?
What CWE is associated with CVE-2025-47271?
How can I check GitHub Actions dependencies for CVE-2025-47271?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2487-9f55-2vg9",
"modified" : "2025-05-12T19:58:07Z",
"published" : "2025-05-12T19:58:07Z",
"aliases" : [ "CVE-2025-47271" ],
"summary" : "OZI-Project/ozi-publish Code Injection vulnerability",
"details" : "### Impact\nPotentially untrusted data flows into PR creation logic. A malicious actor could construct a branch name that injects arbitrary code.\n\n### Patches\nThis is patched in 1.13.6\n\n### Workarounds\nDowngrade to <1.13.2\n\n### References\n\n* [Understanding the Risk of Script Injections](https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#understanding-the-risk-of-script-injections)",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "GitHub Actions",
"name" : "OZI-Project/publish"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.13.2"
}, {
"fixed" : "1.13.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/OZI-Project/publish/security/advisories/GHSA-2487-9f55-2vg9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-47271"
}, {
"type" : "WEB",
"url" : "https://github.com/OZI-Project/publish/commit/abd8524ec69800890529846b3ccfb09ce7c10b5c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/OZI-Project/publish"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1116", "CWE-94", "CWE-95" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-12T19:58:07Z",
"nvd_published_at" : "2025-05-12T11:15:51Z"
}
}