Skip to main content
← All vulnerabilities
CVE-2025-58158GHSA-W469-HJ2F-JPR5GO-2025-3926

Harness Affected by Arbitrary File Write in Gitness LFS server

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3.0, 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • harness harness

    fixed in 3.3.0

  • github.com/harness/gitnessGo

    From 1.0.4 · fixed in 3.3.0

  • github.com/harness/gitnessGo

    fixed in 1.0.4-gitspaces-beta.0.20250808064055-21c5ce42ae13

References 2

GitHub · harness/harness