Vulnerability Description
Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries. Prior to version 3.3.0, Open Source Harness git LFS server (Gitness) exposes api to retrieve and upload files via git LFS. Implementation of upload git LFS file api is vulnerable to arbitrary file write. Due to improper sanitization for upload path, a malicious authenticated user who has access to Harness Gitness server api can use a crafted upload request to write arbitrary file to any location on file system, may even compromise the server. Users using git LFS are vulnerable. This issue has been patched in version 3.3.0.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/harness/harness/commit/21c5ce42ae13740b1cad47706c2ec85e72cc8c
- https://github.com/harness/harness/security/advisories/GHSA-w469-hj2f-jpr5
FAQ
What is CVE-2025-58158?
CVE-2025-58158 is a vulnerability with a CVSS score of 8.8 (HIGH). Harness Open Source is an end-to-end developer platform with Source Control Management, CI/CD Pipelines, Hosted Developer Environments, and Artifact Registries. Prior to version 3.3.0, Open Source Har...
How severe is CVE-2025-58158?
CVE-2025-58158 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-58158?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.