{"id":"CVE-2025-58158","revision":"911061e105a543cda6dae3ea86a6f322","records":[{"revision":"911061e105a543cda6dae3ea86a6f322","observedAt":"2026-10-25T03:17:18.142+00:00","statement":{"source":"nvd","id":"CVE-2025-58158","aliases":[],"title":"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 ap…","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.","state":0,"publishedAt":"2025-08-29T18:15:42.987+00:00","modifiedAt":"2026-10-19T17:10:00.173+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/harness/harness/commit/21c5ce42ae13740b1cad47706c2ec85e72cc8c20","https://github.com/harness/harness/security/advisories/GHSA-w469-hj2f-jpr5"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-58158","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-22","CWE-73"],"productCriteria":[],"sourceDates":{"published":"2025-08-29T18:15:42.987","lastModified":"2026-10-19T17:10:00.173"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-58158","identifiers":["CVE-2025-58158"]},"retained":false,"historicalAffected":[]}],"coverage":[]}